packages: bash/bash.spec, bash/bash41-008 (NEW), bash/bash41-009 (NEW) - up...

arekm arekm at pld-linux.org
Sat Nov 6 21:18:15 CET 2010


Author: arekm                        Date: Sat Nov  6 20:18:15 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 4.1.9

---- Files affected:
packages/bash:
   bash.spec (1.208 -> 1.209) , bash41-008 (NONE -> 1.1)  (NEW), bash41-009 (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/bash/bash.spec
diff -u packages/bash/bash.spec:1.208 packages/bash/bash.spec:1.209
--- packages/bash/bash.spec:1.208	Mon May 17 13:30:54 2010
+++ packages/bash/bash.spec	Sat Nov  6 21:18:10 2010
@@ -6,7 +6,7 @@
 %bcond_without	tests	# do not perform "make test"
 #
 %define		ver		4.1
-%define		patchlevel	7
+%define		patchlevel	9
 %define		rel		1
 Summary:	GNU Bourne Again Shell (bash)
 Summary(fr.UTF-8):	Le shell Bourne Again de GNU
@@ -317,6 +317,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.209  2010/11/06 20:18:10  arekm
+- up to 4.1.9
+
 Revision 1.208  2010/05/17 11:30:54  arekm
 - up to 4.1.7
 

================================================================
Index: packages/bash/bash41-008
diff -u /dev/null packages/bash/bash41-008:1.1
--- /dev/null	Sat Nov  6 21:18:15 2010
+++ packages/bash/bash41-008	Sat Nov  6 21:18:10 2010
@@ -0,0 +1,49 @@
+			     BASH PATCH REPORT
+			     =================
+
+Bash-Release:	4.1
+Patch-ID:	bash41-008
+
+Bug-Reported-by:	Dennis van Dok <dvandok at gmail.com>
+Bug-Reference-ID:	<4BBF2501.5050703 at gmail.com>
+Bug-Reference-URL:	http://lists.gnu.org/archive/html/bug-bash/2010-04/msg00038.html
+
+Bug-Description:
+
+When declaring an associative array and implicitly assigning a value
+to element "0", bash does not correctly allocate memory, leading to
+a segmentation violation when that element or the array itself is
+unset.
+
+Patch (apply with `patch -p0'):
+
+*** ../bash-4.1-patched/builtins/declare.def	2009-11-25 19:42:00.000000000 -0500
+--- builtins/declare.def	2010-05-30 18:25:21.000000000 -0400
+***************
+*** 513,517 ****
+  	      /* let bind_{array,assoc}_variable take care of this. */
+  	      if (assoc_p (var))
+! 		bind_assoc_variable (var, name, "0", value, aflags);
+  	      else
+  		bind_array_variable (name, 0, value, aflags);
+--- 519,523 ----
+  	      /* let bind_{array,assoc}_variable take care of this. */
+  	      if (assoc_p (var))
+! 		bind_assoc_variable (var, name, savestring ("0"), value, aflags);
+  	      else
+  		bind_array_variable (name, 0, value, aflags);
+*** ../bash-4.1-patched/patchlevel.h	2009-10-01 16:39:22.000000000 -0400
+--- patchlevel.h	2010-01-14 09:38:08.000000000 -0500
+***************
+*** 26,30 ****
+     looks for to find the patch level (for the sccs version string). */
+  
+! #define PATCHLEVEL 7
+  
+  #endif /* _PATCHLEVEL_H_ */
+--- 26,30 ----
+     looks for to find the patch level (for the sccs version string). */
+  
+! #define PATCHLEVEL 8
+  
+  #endif /* _PATCHLEVEL_H_ */

================================================================
Index: packages/bash/bash41-009
diff -u /dev/null packages/bash/bash41-009:1.1
--- /dev/null	Sat Nov  6 21:18:15 2010
+++ packages/bash/bash41-009	Sat Nov  6 21:18:10 2010
@@ -0,0 +1,48 @@
+			     BASH PATCH REPORT
+			     =================
+
+Bash-Release:	4.1
+Patch-ID:	bash41-009
+
+Bug-Reported-by:	Tomas Trnka <tomastrnka at gmx.com>
+Bug-Reference-ID:	<201003242030.02166.tomastrnka at gmx.com>
+Bug-Reference-URL:	http://lists.gnu.org/archive/html/bug-bash/2010-03/msg00090.html
+
+Bug-Description:
+
+An arriving SIGCHLD will interrupt `slow' system calls such as write(2) to
+or read(2) from a terminal.  This results in an error message and truncated
+input or output.
+
+Patch (apply with `patch -p0'):
+
+*** ../bash-4.1-patched/sig.c	Fri Aug 14 16:31:52 2009
+--- sig.c	Fri Mar 26 22:34:11 2010
+***************
+*** 655,660 ****
+--- 655,663 ----
+      act.sa_flags |= SA_INTERRUPT;	/* XXX */
+    else
+      act.sa_flags |= SA_RESTART;		/* XXX */
++ #else
++   if (sig == SIGCHLD)
++     act.sa_flags |= SA_RESTART;
+  #endif
+    sigemptyset (&act.sa_mask);
+    sigemptyset (&oact.sa_mask);
+*** ../bash-4.1-patched/patchlevel.h	2009-10-01 16:39:22.000000000 -0400
+--- patchlevel.h	2010-01-14 09:38:08.000000000 -0500
+***************
+*** 26,30 ****
+     looks for to find the patch level (for the sccs version string). */
+  
+! #define PATCHLEVEL 8
+  
+  #endif /* _PATCHLEVEL_H_ */
+--- 26,30 ----
+     looks for to find the patch level (for the sccs version string). */
+  
+! #define PATCHLEVEL 9
+  
+  #endif /* _PATCHLEVEL_H_ */
+
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/bash/bash.spec?r1=1.208&r2=1.209&f=u



More information about the pld-cvs-commit mailing list