You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
493 B

diff -u -r ../Python-2.7.10/Lib/tempfile.py ./Lib/tempfile.py
--- ../Python-2.7.10/Lib/tempfile.py 2015-05-23 12:09:07.000000000 -0400
+++ ./Lib/tempfile.py 2015-09-16 20:45:13.138695050 -0400
@@ -163,7 +163,7 @@
elif _os.name == 'nt':
dirlist.extend([ r'c:\temp', r'c:\tmp', r'\temp', r'\tmp' ])
else:
- dirlist.extend([ '/tmp', '/var/tmp', '/usr/tmp' ])
+ dirlist.extend([ '@TERMUX_PREFIX@/tmp' ])
# As a last resort, the current directory.
try: