From: Arkadiusz Miśkiewicz Date: Tue, 15 Oct 2013 07:20:47 +0000 (+0200) Subject: - up to 48b X-Git-Tag: auto/th/mksh-48b-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?p=packages%2Fmksh.git;a=commitdiff_plain;h=00d94790fe13742dfaf603d51fb0884313ded19e;ds=sidebyside - up to 48b --- 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. diff --git a/mksh.spec b/mksh.spec index 5bdba49..f7cc76b 100644 --- a/mksh.spec +++ b/mksh.spec @@ -6,12 +6,12 @@ Summary: MirBSD Korn Shell Summary(pl.UTF-8): Powłoka Korna z MirBSD Name: mksh -Version: 47 -Release: 2 +Version: 48b +Release: 1 License: BSD Group: Applications/Shells Source0: http://www.mirbsd.org/MirOS/dist/mir/mksh/%{name}-R%{version}.tgz -# Source0-md5: 71c7cbcd78306897801b8b6691091e66 +# Source0-md5: ab9baa6b5a4de9d0e6a3ce9957c18da0 Source1: %{name}-mkshrc Patch0: %{name}-mkshrc_support.patch Patch1: %{name}-circumflex.patch