Leonid Plyushch
5 years ago
3 changed files with 3 additions and 27 deletions
@ -1,12 +0,0 @@ |
|||
diff -uNr lftp-4.8.4/lib/vasnprintf.c lftp-4.8.4.mod/lib/vasnprintf.c
|
|||
--- lftp-4.8.4/lib/vasnprintf.c 2018-07-31 14:04:57.000000000 +0300
|
|||
+++ lftp-4.8.4.mod/lib/vasnprintf.c 2019-10-27 20:05:33.109405874 +0200
|
|||
@@ -4872,7 +4872,7 @@
|
|||
# if ! (((__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) \ |
|||
&& !defined __UCLIBC__) \ |
|||
|| (defined __APPLE__ && defined __MACH__) \ |
|||
- || (defined _WIN32 && ! defined __CYGWIN__))
|
|||
+ || (defined _WIN32 && ! defined __CYGWIN__) || defined(__ANDROID__))
|
|||
fbp[1] = '%'; |
|||
fbp[2] = 'n'; |
|||
fbp[3] = '\0'; |
@ -1,12 +0,0 @@ |
|||
diff -uNr lftp-4.8.3/src/commands.cc lftp-4.8.3.mod/src/commands.cc
|
|||
--- lftp-4.8.3/src/commands.cc 2017-08-10 13:17:10.000000000 +0300
|
|||
+++ lftp-4.8.3.mod/src/commands.cc 2017-12-19 16:59:50.095958249 +0200
|
|||
@@ -3006,7 +3006,7 @@
|
|||
|
|||
xstring cmd0("exec ${EDITOR:-vi} "); |
|||
cmd0.append(shell_encode(lftp_bookmarks.GetFilePath())); |
|||
- xstring cmd1("/bin/sh -c ");
|
|||
+ xstring cmd1("@TERMUX_PREFIX@/bin/sh -c ");
|
|||
cmd1.append(shell_encode(cmd0)); |
|||
|
|||
parent->PrependCmd(xstring::get_tmp("shell ").append_quoted(cmd1)); |
Loading…
Reference in new issue