Opened 7 years ago

Closed 7 years ago

#11491 closed Bugs (fixed)

temp_directory_path doesn't return valid temp path on Android

Reported by: Daniel Seither <tiwoc@…> Owned by: Beman Dawes
Milestone: To Be Determined Component: filesystem
Version: Boost 1.58.0 Severity: Problem
Keywords: Cc:

Description

temp_directory_path returns /tmp (the default for POSIX systems) on Android. The default temp path on Android however is /data/local/tmp, so it would be great to have temp_directory_path return this value if __ANDROID__ is defined.

This is not fixed yet in the development branch: https://github.com/boostorg/filesystem/blob/develop/src/operations.cpp#L1757

Attachments (1)

boost-tmp-android.diff (585 bytes ) - added by Daniel Seither <tiwoc@…> 7 years ago.
Patch

Download all attachments as: .zip

Change History (3)

by Daniel Seither <tiwoc@…>, 7 years ago

Attachment: boost-tmp-android.diff added

Patch

comment:1 by Daniel Seither <tiwoc@…>, 7 years ago

I opened a pull request.

comment:2 by Beman Dawes, 7 years ago

Resolution: fixed
Status: newclosed

Please verify that the fix (develop branch) works for you. I have no way of testing Android.

Thanks,

--Beman

Note: See TracTickets for help on using tickets.