e5fbd81a61
git-svn-id: svn://svn.openwrt.org/openwrt/packages@31746 3c298f89-4303-0410-b956-a3cf2f4a3e73
38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
Diff
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_ */
|