gpgme: Update from 1.10.0 to 1.11.1
[termux-packages] / packages / git / tempfile.c.patch
CommitLineData
d4e19e86
FF
1diff -u -r ../git-2.8.1/tempfile.c ./tempfile.c
2--- ../git-2.8.1/tempfile.c 2016-04-03 15:07:18.000000000 -0400
3+++ ./tempfile.c 2016-04-28 07:22:47.339509915 -0400
4@@ -170,7 +170,7 @@
5
6 tmpdir = getenv("TMPDIR");
7 if (!tmpdir)
8- tmpdir = "/tmp";
9+ tmpdir = "@TERMUX_PREFIX@/tmp";
10
11 strbuf_addf(&tempfile->filename, "%s/%s", tmpdir, template);
12 tempfile->fd = git_mkstemps_mode(tempfile->filename.buf, suffixlen, mode);