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.
 
 
 
 
 
 

11 lines
374 B

diff -u -r ../debianutils-4.4/tempfile.c ./tempfile.c
--- ../debianutils-4.4/tempfile.c 2013-07-28 03:30:26.000000000 +0200
+++ ./tempfile.c 2014-05-30 16:13:08.000000000 +0200
@@ -59,6 +59,7 @@
int
main (int argc, char **argv)
{
+ setenv("TMPDIR", "@TERMUX_PREFIX@/tmp", 0);
char *name=0, *dir=0, *pfx=0, *sfx=0, *filename=0;
mode_t mode = 0600;
int fd, optc;