[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/116-upstream-bash42-016.patch
Normal file
37
utils/bash/patches/116-upstream-bash42-016.patch
Normal file
@ -0,0 +1,37 @@
|
||||
BASH PATCH REPORT
|
||||
=================
|
||||
|
||||
Bash-Release: 4.2
|
||||
Patch-ID: bash42-016
|
||||
|
||||
Bug-Reported-by: Martin von Gagern <Martin.vGagern@gmx.net>
|
||||
Bug-Reference-ID: <4E43AD9E.8060501@gmx.net>
|
||||
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2011-08/msg00141.html
|
||||
|
||||
Bug-Description:
|
||||
|
||||
Bash should not check for mail while executing the `eval' builtin.
|
||||
|
||||
Patch (apply with `patch -p0'):
|
||||
|
||||
--- a/parse.y
|
||||
+++ b/parse.y
|
||||
@@ -2499,7 +2499,7 @@ yylex ()
|
||||
We do this only if it is time to do so. Notice that only here
|
||||
is the mail alarm reset; nothing takes place in check_mail ()
|
||||
except the checking of mail. Please don't change this. */
|
||||
- if (prompt_is_ps1 && time_to_check_mail ())
|
||||
+ if (prompt_is_ps1 && parse_and_execute_level == 0 && time_to_check_mail ())
|
||||
{
|
||||
check_mail ();
|
||||
reset_mail_timer ();
|
||||
--- 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 15
|
||||
+#define PATCHLEVEL 16
|
||||
|
||||
#endif /* _PATCHLEVEL_H_ */
|
Reference in New Issue
Block a user