Dr. Werner Fink 2014-07-18 14:18:52 +00:00 committed by Git OBS Bridge
parent a6377745e8
commit 5314d0f225
3 changed files with 24 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jul 18 14:14:23 UTC 2014 - werner@suse.de
- Add patch ksh93-backticks.dif to allow the ksh to use more than
65536 characters in the output of old fashion `...` commands (bnc#887320)
-------------------------------------------------------------------
Thu Jul 17 11:07:34 UTC 2014 - werner@suse.de

View File

@ -132,6 +132,8 @@ Patch34: ksh93-alias-k.dif
Patch36: ksh93-fs3d.dif
# PATCH-FIX-SUSE Various crashes fixed for bnc#844071
Patch37: ksh93-crashes.dif
# PATCH-FIX-SUSE Strings in backticks cannot be longer than 65536 characters bnc#887320
Patch38: ksh93-backticks.dif
Patch42: ksh-locale.patch
%description
@ -216,6 +218,7 @@ fi
%patch34
%patch36
%patch37
%patch38
%patch42
%build

15
ksh93-backticks.dif Normal file
View File

@ -0,0 +1,15 @@
---
src/cmd/ksh93/sh/macro.c | 2 -
1 file changed, 1 insertion(+), 1 deletion(-)
--- src/cmd/ksh93/sh/macro.c
+++ src/cmd/ksh93/sh/macro.c 2014-07-18 13:50:47.590235743 +0000
@@ -2198,7 +2198,7 @@ static void comsubst(Mac_t *mp,register
mp->shp->inlineno = error_info.line+mp->shp->st.firstline;
t = (Shnode_t*)sh_parse(mp->shp, sp,SH_EOF|SH_NL);
mp->shp->inlineno = c;
- type = 1;
+ type = 3;
}
#if KSHELL
if(t)