notmuch: Update from 0.26.1 to 0.26.2
[termux-packages] / packages / busybox / editors-diff.c.patch
1 diff -u -r ../busybox-1.24.1/editors/diff.c ./editors/diff.c
2 --- ../busybox-1.24.1/editors/diff.c 2015-10-11 09:31:50.000000000 -0400
3 +++ ./editors/diff.c 2016-02-08 05:23:45.890302334 -0500
4 @@ -734,7 +734,7 @@
5 * When we meet non-seekable file, we must make a temp copy.
6 */
7 if (lseek(fd, 0, SEEK_SET) == -1 && errno == ESPIPE) {
8 - char name[] = "/tmp/difXXXXXX";
9 + char name[] = "@TERMUX_PREFIX@/tmp/difXXXXXX";
10 int fd_tmp = xmkstemp(name);
11
12 unlink(name);