termux-packages/packages/bitlbee/ipc.c.patch

12 lines
244 B
Diff
Raw Normal View History

2022-04-01 09:56:54 +02:00
--- a/ipc.c
+++ b/ipc.c
@@ -824,7 +824,7 @@
char *ipc_master_save_state()
{
- char *fn = g_strdup("/tmp/bee-restart.XXXXXX");
+ char *fn = g_strdup("@TERMUX_PREFIX@/tmp/bee-restart.XXXXXX");
int fd = mkstemp(fn);
GSList *l;
FILE *fp;