mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 00:10:52 +00:00
3635ff5eb3
Signed-off-by: Kevin Williams <admin@utermux.dev>
23 lines
741 B
Diff
23 lines
741 B
Diff
--- a/src/modules/loaders/decompress_load.c
|
|
+++ b/src/modules/loaders/decompress_load.c
|
|
@@ -10,7 +10,7 @@
|
|
ImlibLoader *loader;
|
|
int dest, res;
|
|
const char *s, *p, *q;
|
|
- char tmp[] = "/tmp/imlib2_loader_dec-XXXXXX";
|
|
+ char tmp[] = "@TERMUX_PREFIX@/tmp/imlib2_loader_dec-XXXXXX";
|
|
char *real_ext;
|
|
|
|
rc = LOAD_FAIL;
|
|
--- a/src/modules/loaders/loader_id3.c
|
|
+++ b/src/modules/loaders/loader_id3.c
|
|
@@ -514,7 +514,7 @@
|
|
|
|
if (loader)
|
|
{
|
|
- char tmp[] = "/tmp/imlib2_loader_id3-XXXXXX";
|
|
+ char tmp[] = "@TERMUX_PREFIX@/tmp/imlib2_loader_id3-XXXXXX";
|
|
int dest, res;
|
|
|
|
if ((dest = mkstemp(tmp)) < 0)
|