New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mkstemp() is broken on Android #14636
Comments
From @CorionHi all, according to opinions on Google [1a][1b] and my testing [3], mkstemp() My Easter egg hunt so far has led me to the conclusion that there is no This is just a bug report to note this. Maybe this should go into the -max [1a] https://code.google.com/p/android/issues/detail?id=66815 ./perl -w dist/IO/t/io_xs.t ./perl -V Platform: Characteristics of this binary (from libperl): PERL5INC="/storage/sdcard0/perl-5.21.10/lib/site_lib:/storage/sdcard0/perl-5.21.10/lib/5.21.10/" |
From @dkLooking at the source it seems that the directory in question is basically $ENV{EXTERNAL_STORAGE} // '/mnt/sdcard' But I don't have an Android VM at hand to test this. http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.0.1_r1/android/content/Context.java#Context.getCacheDir%28%29 http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.0.1_r1/android/os/Environment.java#Environment.0EXTERNAL_STORAGE_DIRECTORY |
The RT System itself - Status changed from 'new' to 'open' |
From @iabynOn Sun, May 01, 2016 at 04:22:37AM -0700, Dmitry Karasik via RT wrote:
Do you mean the mkstemp() in File::Temp? In what way is it broken?
What source?
What directory?
The current perl source doesn't contain either of the strings
What is the relevance of those Java API calls to a perl issue? Sorry, but your ticket is very unclear to me. -- |
From @CorionHello Dave, Am 02.05.2016 um 17:47 schrieb Dave Mitchell via RT:
On Android much of even the OS functionality only lives in Java-land, so -max |
Migrated from rt.perl.org#124240 (status was 'open')
Searchable as RT124240$
The text was updated successfully, but these errors were encountered: