termux-packages/packages/fte/src-e_cvslog.cpp.patch

12 lines
334 B
Diff

--- a/src/e_cvslog.cpp
+++ b/src/e_cvslog.cpp
@@ -30,7 +30,7 @@
// Create filename for message
#ifdef UNIX
// Use this in Unix - it says more to user
- sprintf (msgFile,"/tmp/fte%d-cvs-msg", (int)getpid());
+ sprintf (msgFile,"@TERMUX_PREFIX@/tmp/fte%d-cvs-msg", (int)getpid());
#else
tmpnam (msgFile);
#endif