X-Git-Url: https://git.tld-linux.org/?p=packages%2Fmksh.git;a=blobdiff_plain;f=mksh-cmdline-length.patch;fp=mksh-cmdline-length.patch;h=de55b3f1e2cd02037f4f2052381f49c310da9943;hp=842a2450b2f02eeff1214a4d1459e931c6f36c7b;hb=d5b553429630b64a49573d77a42ae3e33d254cc3;hpb=08bd1d9760a0e3378d600270bf3f34d5012c8452 diff --git a/mksh-cmdline-length.patch b/mksh-cmdline-length.patch index 842a245..de55b3f 100644 --- a/mksh-cmdline-length.patch +++ b/mksh-cmdline-length.patch @@ -1,11 +1,11 @@ ---- mksh-40b/sh.h~ 2011-10-15 20:27:37.000000000 +0200 -+++ mksh-40b/sh.h 2011-10-18 17:56:07.152596641 +0200 -@@ -381,7 +381,7 @@ - #define NOT '!' /* might use ^ (ie, [!...] vs [^..]) */ - #define NOT2 '^' +--- mksh-48b/sh.h~ 2013-10-15 09:18:13.000000000 +0200 ++++ mksh-48b/sh.h 2013-10-15 09:18:46.706838235 +0200 +@@ -985,7 +985,7 @@ + EXTERN char *current_wd; --#define LINE 4096 /* input line size */ -+#define LINE 16384 /* input line size */ - - EXTERN const char *safe_prompt; /* safe prompt if PS1 substitution fails */ - EXTERN const char initvsn[] I__("KSH_VERSION=@(#)MIRBSD KSH " MKSH_VERSION); + /* input line size */ +-#define LINE (4096 - ALLOC_SIZE) ++#define LINE (16384 - ALLOC_SIZE) + /* + * Minimum required space to work with on a line - if the prompt leaves + * less space than this on a line, the prompt is truncated.