2018-09-17 20:35:10 +02:00
|
|
|
diff -uNr qemu-2.12.1/util/qemu-sockets.c qemu-2.12.1.mod/util/qemu-sockets.c
|
|
|
|
--- qemu-2.12.1/util/qemu-sockets.c 2018-08-03 00:48:53.000000000 +0300
|
|
|
|
+++ qemu-2.12.1.mod/util/qemu-sockets.c 2018-09-17 16:27:47.030729346 +0300
|
2018-09-17 13:27:14 +02:00
|
|
|
@@ -841,7 +841,7 @@
|
|
|
|
path = saddr->path;
|
|
|
|
} else {
|
|
|
|
const char *tmpdir = getenv("TMPDIR");
|
|
|
|
- tmpdir = tmpdir ? tmpdir : "/tmp";
|
|
|
|
+ tmpdir = tmpdir ? tmpdir : "@TERMUX_PREFIX@/tmp";
|
|
|
|
path = pathbuf = g_strdup_printf("%s/qemu-socket-XXXXXX", tmpdir);
|
|
|
|
}
|
|
|
|
|