termux-packages/packages/bitlbee/otr.c.patch
2022-04-02 12:16:38 +09:00

12 lines
285 B
Diff

--- a/otr.c
+++ b/otr.c
@@ -2021,7 +2021,7 @@
myfgets(accountname, 512, input);
myfgets(protocol, 512, input);
- strncpy(filename, "/tmp/bitlbee-XXXXXX", 128);
+ strncpy(filename, "@TERMUX_PREFIX@/tmp/bitlbee-XXXXXX", 128);
tempfd = mkstemp(filename);
close(tempfd);