chiark / gitweb /
libuv: Update from 1.20.0 to 1.20.1
[termux-packages] / packages / debianutils / tempfile.c.patch
1 diff -u -r ../debianutils-4.4/tempfile.c ./tempfile.c
2 --- ../debianutils-4.4/tempfile.c       2013-07-28 03:30:26.000000000 +0200
3 +++ ./tempfile.c        2014-05-30 16:13:08.000000000 +0200
4 @@ -59,6 +59,7 @@
5  int
6  main (int argc, char **argv)
7  {
8 +  setenv("TMPDIR", "@TERMUX_PREFIX@/tmp", 0);
9    char *name=0, *dir=0, *pfx=0, *sfx=0, *filename=0;
10    mode_t mode = 0600;
11    int fd, optc;