Add back TERMUX_PREFIX in patch

This commit is contained in:
Fredrik Fornwall 2015-12-24 03:21:22 -05:00
parent 9867ff1aca
commit c501b8272d
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ diff -u -r /home/fornwall/lib/android-ndk/platforms/android-21/arch-arm/usr/incl
/* System V/ANSI C; this is the wrong way to do this, do *not* use these. */
#if __BSD_VISIBLE || __XPG_VISIBLE
-#define P_tmpdir "/tmp/"
+#define P_tmpdir "/data/data/com.termux/files/usr/tmp/"
+#define P_tmpdir "@TERMUX_PREFIX@/tmp/"
#endif
#define L_tmpnam 1024 /* XXX must be == PATH_MAX */
#define TMP_MAX 308915776