Commit | Line | Data |
---|---|---|
a680abcb AK |
1 | --- src/src/pulsecore/core-util.c.orig 2017-01-13 03:02:18.000000000 +0000 |
2 | +++ src/src/pulsecore/core-util.c 2017-03-06 22:31:51.321911880 +0000 | |
3 | @@ -1812,7 +1812,7 @@ | |
4 | * users, too. Since we need POSIX locking and UNIX sockets in | |
5 | * this directory, we try XDG_RUNTIME_DIR first, and if that isn't | |
6 | * set create a directory in $HOME and link it to a random subdir | |
7 | - * in /tmp, if it was not explicitly configured. */ | |
8 | + * in @TERMUX_PREFIX@/tmp, if it was not explicitly configured. */ | |
9 | ||
10 | m = pa_in_system_mode() ? 0755U : 0700U; | |
11 | ||
12 | @@ -1885,7 +1885,7 @@ | |
13 | ||
14 | #ifdef HAVE_SYMLINK | |
15 | /* Hmm, so the runtime directory didn't exist yet, so let's | |
16 | - * create one in /tmp and symlink that to it */ | |
17 | + * create one in @TERMUX_PREFIX@/tmp and symlink that to it */ | |
18 | ||
19 | if (make_random_dir_and_link(0700, k) < 0) { | |
20 | ||
21 | @@ -3429,7 +3429,7 @@ | |
22 | pa_is_path_absolute(t)) | |
23 | return t; | |
24 | ||
25 | - return "/tmp"; | |
26 | + return "@TERMUX_PREFIX@/tmp"; | |
27 | } | |
28 | ||
29 | int pa_open_cloexec(const char *fn, int flags, mode_t mode) { |