Bash-4.2 patch 43
This commit is contained in:
@@ -385,10 +385,20 @@ read_builtin (list)
|
|||||||
{
|
{
|
||||||
/* Tricky. The top of the unwind-protect stack is the free of
|
/* Tricky. The top of the unwind-protect stack is the free of
|
||||||
input_string. We want to run all the rest and use input_string,
|
input_string. We want to run all the rest and use input_string,
|
||||||
so we have to remove it from the stack. */
|
so we have to save input_string temporarily, run the unwind-
|
||||||
remove_unwind_protect ();
|
protects, then restore input_string so we can use it later. */
|
||||||
run_unwind_frame ("read_builtin");
|
|
||||||
input_string[i] = '\0'; /* make sure it's terminated */
|
input_string[i] = '\0'; /* make sure it's terminated */
|
||||||
|
if (i == 0)
|
||||||
|
{
|
||||||
|
t = (char *)xmalloc (1);
|
||||||
|
t[0] = 0;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
t = savestring (input_string);
|
||||||
|
|
||||||
|
run_unwind_frame ("read_builtin");
|
||||||
|
input_string = t;
|
||||||
retval = 128+SIGALRM;
|
retval = 128+SIGALRM;
|
||||||
goto assign_vars;
|
goto assign_vars;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,6 +25,6 @@
|
|||||||
regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
|
regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
|
||||||
looks for to find the patch level (for the sccs version string). */
|
looks for to find the patch level (for the sccs version string). */
|
||||||
|
|
||||||
#define PATCHLEVEL 42
|
#define PATCHLEVEL 43
|
||||||
|
|
||||||
#endif /* _PATCHLEVEL_H_ */
|
#endif /* _PATCHLEVEL_H_ */
|
||||||
|
|||||||
Reference in New Issue
Block a user