termux-packages/x11-packages/putty/putty-0.70_unix_uxshare.c.p...

13 lines
447 B
Diff

diff -uNr putty-0.70/unix/uxshare.c putty-0.70.mod/unix/uxshare.c
--- putty-0.70/unix/uxshare.c 2017-07-04 22:30:56.000000000 +0300
+++ putty-0.70.mod/unix/uxshare.c 2018-10-05 20:13:10.914157046 +0300
@@ -20,7 +20,7 @@
#include "proxy.h"
#include "ssh.h"
-#define CONNSHARE_SOCKETDIR_PREFIX "/tmp/putty-connshare"
+#define CONNSHARE_SOCKETDIR_PREFIX "@TERMUX_PREFIX@/tmp/putty-connshare"
#define SALT_FILENAME "salt"
#define SALT_SIZE 64