0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-11 23:00:52 +00:00
termux-packages/packages/cadaver/src-edit.c.patch
2021-12-25 21:15:42 +01:00

12 lines
358 B
Diff

--- a/src/edit.c
+++ b/src/edit.c
@@ -114,7 +114,7 @@
char *real_remote;
unsigned int can_lock; /* can we LOCK it? */
struct ne_lock *lock = NULL;
- char fname[PATH_MAX] = "/tmp/cadaver-edit-XXXXXX";
+ char fname[PATH_MAX] = "@TERMUX_PREFIX@/tmp/cadaver-edit-XXXXXX";
const char *pnt;
int fd;
int is_checkout, is_checkin;