commit bash-20131115 snapshot

This commit is contained in:
Chet Ramey
2013-12-16 11:08:43 -05:00
parent 04088b12ca
commit 2e74e96464
16 changed files with 6785 additions and 9 deletions
+4 -3
View File
@@ -284,7 +284,7 @@ int line_number_for_err_trap;
/* A sort of function nesting level counter */
int funcnest = 0;
int funcnest_max = 0; /* XXX - bash-4.2 */
int funcnest_max = 0; /* bash-4.2 */
int lastpipe_opt = 0;
@@ -3953,8 +3953,9 @@ execute_simple_command (simple_command, pipe_in, pipe_out, async, fds_to_close)
close_pipes (pipe_in, pipe_out);
#if defined (PROCESS_SUBSTITUTION) && defined (HAVE_DEV_FD)
/* Close /dev/fd file descriptors in the parent after forking the
last child in a (possibly one-element) pipeline. */
if (pipe_out == NO_PIPE) /* XXX */
last child in a (possibly one-element) pipeline. Defer this
until any running shell function completes. */
if (pipe_out == NO_PIPE && variable_context == 0) /* XXX */
unlink_fifo_list (); /* XXX */
#endif
command_line = (char *)NULL; /* don't free this. */