Blame bash-5.1-patch-2.patch
|
Siteshwar Vashisht |
66f2dd |
diff --git a/builtins/wait.def b/builtins/wait.def
|
|
Siteshwar Vashisht |
66f2dd |
--- a/builtins/wait.def
|
|
Siteshwar Vashisht |
66f2dd |
+++ b/builtins/wait.def
|
|
Siteshwar Vashisht |
66f2dd |
@@ -213,11 +213,11 @@ wait_builtin (list)
|
|
Siteshwar Vashisht |
66f2dd |
}
|
|
Siteshwar Vashisht |
66f2dd |
|
|
Siteshwar Vashisht |
66f2dd |
status = wait_for_any_job (wflags, &pstat);
|
|
Siteshwar Vashisht |
66f2dd |
- if (status < 0)
|
|
Siteshwar Vashisht |
66f2dd |
- status = 127;
|
|
Siteshwar Vashisht |
66f2dd |
-
|
|
Siteshwar Vashisht |
66f2dd |
if (vname && status >= 0)
|
|
Siteshwar Vashisht |
66f2dd |
bind_var_to_int (vname, pstat.pid);
|
|
Siteshwar Vashisht |
66f2dd |
+
|
|
Siteshwar Vashisht |
66f2dd |
+ if (status < 0)
|
|
Siteshwar Vashisht |
66f2dd |
+ status = 127;
|
|
Siteshwar Vashisht |
66f2dd |
if (list)
|
|
Siteshwar Vashisht |
66f2dd |
unset_waitlist ();
|
|
Siteshwar Vashisht |
66f2dd |
WAIT_RETURN (status);
|
|
Siteshwar Vashisht |
66f2dd |
diff --git a/patchlevel.h b/patchlevel.h
|
|
Siteshwar Vashisht |
66f2dd |
--- a/patchlevel.h
|
|
Siteshwar Vashisht |
66f2dd |
+++ b/patchlevel.h
|
|
Siteshwar Vashisht |
66f2dd |
@@ -25,6 +25,6 @@
|
|
Siteshwar Vashisht |
66f2dd |
regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
|
|
Siteshwar Vashisht |
66f2dd |
looks for to find the patch level (for the sccs version string). */
|
|
Siteshwar Vashisht |
66f2dd |
|
|
Siteshwar Vashisht |
66f2dd |
-#define PATCHLEVEL 1
|
|
Siteshwar Vashisht |
66f2dd |
+#define PATCHLEVEL 2
|
|
Siteshwar Vashisht |
66f2dd |
|
|
Siteshwar Vashisht |
66f2dd |
#endif /* _PATCHLEVEL_H_ */
|