rpms/ksh/F-8 ksh-20071105-ifs.patch,NONE,1.1 ksh.spec,1.34,1.35

Tomas Smetana (tsmetana) fedora-extras-commits at redhat.com
Mon Jan 7 07:51:23 UTC 2008


Author: tsmetana

Update of /cvs/pkgs/rpms/ksh/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15982

Modified Files:
	ksh.spec 
Added Files:
	ksh-20071105-ifs.patch 
Log Message:
* Mon Jan 07 2008 Tomas Smetana <tsmetana at redhat.com> 20071105-2
- fix #405381 - ksh will not handle $(xxx) when typeset -r IFS
- fix #386501 - bad group in spec file


ksh-20071105-ifs.patch:

--- NEW FILE ksh-20071105-ifs.patch ---
diff -up ksh-20071105/src/cmd/ksh93/sh/macro.c.ifs ksh-20071105/src/cmd/ksh93/sh/macro.c
--- ksh-20071105/src/cmd/ksh93/sh/macro.c.ifs	2008-01-07 08:33:51.000000000 +0100
+++ ksh-20071105/src/cmd/ksh93/sh/macro.c	2008-01-07 08:35:45.000000000 +0100
@@ -1777,7 +1777,7 @@ static void comsubst(Mac_t *mp,int type)
 #endif
 	*mp = savemac;
 	np = nv_scoped(IFSNOD);
-	nv_putval(np,mp->ifsp,0);
+	nv_putval(np,mp->ifsp, NV_RDONLY);
 	mp->ifsp = nv_getval(np);
 	stakset(savptr,savtop);
 	newlines = 0;


Index: ksh.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ksh/F-8/ksh.spec,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- ksh.spec	7 Nov 2007 15:11:12 -0000	1.34
+++ ksh.spec	7 Jan 2008 07:50:46 -0000	1.35
@@ -5,10 +5,10 @@
 Name:         ksh
 Summary:      The Original ATT Korn Shell
 URL:          http://www.kornshell.com/
-Group:        Applications/Shells
+Group:        System Environment/Shells
 License:      Common Public License Version 1.0
 Version:      20071105
-Release:      1%{?dist}
+Release:      2%{?dist}
 Source0:      http://www.research.att.com/~gsf/download/tgz/ast-ksh.%{releasedate}.tgz
 Source1:      http://www.research.att.com/~gsf/download/tgz/INIT.%{releasedate}.tgz
 Source2:      http://www.research.att.com/~gsf/download/tgz/ast-ksh-locale.%{releasedate}.tgz
@@ -18,6 +18,7 @@
 Patch3:       ksh-20070328-builtins.patch
 Patch4:       ksh-20070328-ttou.patch
 Patch5:       ksh-20070628-unaligned.patch
+Patch6:       ksh-20071105-ifs.patch
 # for debugging only:
 #Patch100:     ksh-20060124-iffedebug.patch
 
@@ -46,6 +47,7 @@
 %patch3 -p1 -b .builtins
 %patch4 -p1 -b .ttou
 %patch5 -p1 -b .unaligned
+%patch6 -p1 -b .ifs
 #patch100 -p1 -b .iffedebug
 
 %build
@@ -104,6 +106,10 @@
     rm -rf $RPM_BUILD_ROOT
 
 %changelog
+* Mon Jan 07 2008 Tomas Smetana <tsmetana at redhat.com> 20071105-2
+- fix #405381 - ksh will not handle $(xxx) when typeset -r IFS
+- fix #386501 - bad group in spec file
+
 * Wed Nov 07 2007 Tomas Smetana <tsmetana at redhat.com> 20071105-1
 - new upstream version
 




More information about the fedora-extras-commits mailing list