2018-10-26 15:19:03 +02:00
|
|
|
diff -uNr qemu-3.0.0/block.c qemu-3.0.0.mod/block.c
|
|
|
|
--- qemu-3.0.0/block.c 2018-08-14 22:10:34.000000000 +0300
|
2018-10-26 16:21:47 +02:00
|
|
|
+++ qemu-3.0.0.mod/block.c 2018-10-26 16:49:45.246931666 +0300
|
2018-10-26 15:19:03 +02:00
|
|
|
@@ -549,7 +549,7 @@
|
2018-09-17 13:27:14 +02:00
|
|
|
const char *tmpdir;
|
|
|
|
tmpdir = getenv("TMPDIR");
|
|
|
|
if (!tmpdir) {
|
|
|
|
- tmpdir = "/var/tmp";
|
|
|
|
+ tmpdir = "@TERMUX_PREFIX@/var/tmp";
|
|
|
|
}
|
|
|
|
if (snprintf(filename, size, "%s/vl.XXXXXX", tmpdir) >= size) {
|
|
|
|
return -EOVERFLOW;
|