[packages] bash: import upstream 4.2 patch series
git-svn-id: svn://svn.openwrt.org/openwrt/packages@31746 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
37
utils/bash/patches/106-upstream-bash42-006.patch
Normal file
37
utils/bash/patches/106-upstream-bash42-006.patch
Normal file
@ -0,0 +1,37 @@
|
||||
BASH PATCH REPORT
|
||||
=================
|
||||
|
||||
Bash-Release: 4.2
|
||||
Patch-ID: bash42-006
|
||||
|
||||
Bug-Reported-by: Allan McRae <allan@archlinux.org>
|
||||
Bug-Reference-ID: <4D6D0D0B.50908@archlinux.org>
|
||||
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2011-03/msg00001.html
|
||||
|
||||
Bug-Description:
|
||||
|
||||
A problem with bash42-005 caused it to dump core if TZ was unset.
|
||||
|
||||
Patch (apply with `patch -p0'):
|
||||
|
||||
--- a/variables.c
|
||||
+++ b/variables.c
|
||||
@@ -3660,7 +3660,7 @@ chkexport (name)
|
||||
SHELL_VAR *v;
|
||||
|
||||
v = find_variable (name);
|
||||
- if (exported_p (v))
|
||||
+ if (v && exported_p (v))
|
||||
{
|
||||
array_needs_making = 1;
|
||||
maybe_make_export_env ();
|
||||
--- a/patchlevel.h
|
||||
+++ b/patchlevel.h
|
||||
@@ -25,6 +25,6 @@
|
||||
regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
|
||||
looks for to find the patch level (for the sccs version string). */
|
||||
|
||||
-#define PATCHLEVEL 5
|
||||
+#define PATCHLEVEL 6
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
Reference in New Issue
Block a user