about summary refs log tree commit diff
path: root/Src/exec.c
Commit message (Collapse)AuthorAgeFilesLines
* 32768 with further modifications: LOCAL_LOOPS option.Peter Stephenson2014-06-131-2/+15
|
* 32568: consistency in handling of errflag condition during substitutionsBarton E. Schaefer2014-04-201-2/+9
| | | | | Affects for/select word lists, function definition name position, and anonymous function argument lists.
* 32552 (updated by 32560): fix segfault when using process substitution in ↵Andrew Waldron2014-04-181-8/+18
| | | | | | anonymous function argument list Also disallow process substitution in function name position.
* 32176: plug additional deadlock-inducing pipe descriptor leaksPeter Stephenson2013-12-211-1/+4
|
* 32171: close pipe descriptor in parent when left side is a shell construct toBarton E. Schaefer2013-12-201-0/+4
| | | | | | prevent deadlock Also clean up ChangeLog entry that attributed 32119 to 32114
* 32091: WARN_CREATE_GLOBAL false positive.Daniel Shahaf2013-12-061-1/+4
| | | | In cases like () { foo=bar =true; }
* 31919: fix deadlock when a shell builtin with a multio redirection is used ↵Barton E. Schaefer2013-10-271-2/+2
| | | | | | | | | on the left side of a pipeline Make sure stdin/out/err file descriptors are closed for the multio copy process, which means not re-using those descriptors after they are closed and marked FDT_UNUSED in fdtable[]. For completeness, initialize their fdtable[] state to FDT_EXTERNAL.
* 31912: in closemn(), distinguish closing for >&- from closing for a real ↵Barton E. Schaefer2013-10-271-5/+5
| | | | | | redirect Fixes knock-on multios bug introduced by workers/20666 way back in 2005.
* Use VERBOSE option in execstring()Peter Stephenson2013-10-191-0/+5
|
* 31846: fix NOEXEC option in execsimple() optimisationPeter Stephenson2013-10-181-0/+3
|
* 31832: make execrestore() more signal-safe.Bart Schaefer2013-10-171-23/+27
|
* 31809: Make whitespace clear in trace output for patterns.Peter Stephenson2013-10-101-0/+13
|
* 31549: Fix third problem with file descriptor management.Peter Stephenson2013-07-211-17/+1
| | | | | Replace ad-hoc subsh_close file descriptor for pipe management with the new job-based addfilelist() mechanism.
* 31545: Use of FD_CLOEXEC to remove possibility of fd reuse.Peter Stephenson2013-07-201-0/+2
| | | | | File descriptors of mmap'd dump files are closed if and only if an exec is performed.
* 31528: use job table to record file descriptors associated with process substPeter Stephenson2013-07-171-27/+6
|
* 31444: Basic code for enable/disable -pPeter Stephenson2013-06-131-0/+5
|
* 31376: Make sure every execve() is prefixed by winch_unblock()Frank Terbeck2013-05-051-0/+6
| | | | This was suggested by Bart Schaefer in 31375.
* Revert "31372: Do not block SIGWINCH for child processes"Frank Terbeck2013-05-051-3/+1
| | | | | | This reverts commit f8ab02ad5f4226e46ab54e681a3e0404fdc1a9a6. As Bart suggested in 31375.
* 31372: Do not block SIGWINCH for child processesBart Schaefer2013-05-051-1/+3
| | | | Something similar may also be needed in the zpty and clone modules.
* 31141: Tighten NO_CLOBBER restrictions on {fd} syntaxPeter Stephenson2013-03-101-1/+8
| | | | to apply only if $fd is exactly an fd and nothing else.
* 30876: fix obscure failures to propagate non-zero statusPeter Stephenson2012-12-131-3/+3
| | | | from optimised simple commands within lists
* 30726: make shell options passed to emulate stick along with the emulationPeter Stephenson2012-10-111-6/+101
|
* 30724: shell code optimisd to use execsimple() doesn't have a valid thisjobPeter Stephenson2012-10-111-3/+24
|
* 30722: fix some cases where emulations or options were not propagated properlyPeter Stephenson2012-10-071-1/+1
| | | | from the emulate command
* 30633: "functions -T" only traces marked function, not called functionsPeter Stephenson2012-08-211-2/+13
|
* 30307 plus tweak suggsted by Wayne: use %lld for zlong when long longPeter Stephenson2012-03-051-0/+4
|
* 30272 (tweaked): most failures of fork() cause non-interactive shells toBart Schaefer2012-03-011-11/+12
| | | | exit nonzero; bad options to "exec" cause exit under POSIX_BUILTINS.
* 30181, plus rename of PF_* flags to PREFORK_*:Peter Stephenson2012-02-121-3/+3
| | | | | | Pass sh-wordsplitting instructions to paramsubst() using flags, avoiding side effects of explicitly setting and unsetting the SHWORDSPLIT option.
* 30111: Src/exec.c: Fix segfaults with exec options.Frank Terbeck2012-01-161-1/+12
|
* 30000 plus some comments: Better POSIXJOBs behaviour.Peter Stephenson2011-12-121-4/+25
| | | | | | Don't restore default SIGTTOU etc. behaviour if still doing job control. Only carry on doing job control in subshell if it's a real (...) subshell
* 29844, 29845: remove bogusPeter Stephenson2011-10-261-2/+12
| | | | error on closing fd's 0 to 9; update test
* users/16289: don't delete temporary files on disown.Peter Stephenson2011-08-281-7/+7
| | | | Document.
* 29703: crash when failing to parse process substitutionsPeter Stephenson2011-08-171-1/+9
|
* 29677: Do not allow external processes in a pipeline to become suspendedBart Schaefer2011-08-141-0/+2
| | | | | when the end of the pipe is controlled by a builtin in the current shell which cannot itself become suspended.
* 29654: "wait" should resume stopped jobs identified by process ID as wellBart Schaefer2011-08-101-1/+3
| | | | | as by job number; temporary (?) workaround for pipelines getting lost if TSTP is delivered when a shell builtin is the tail of the pipe.
* 29561: Allow closing of fd's not recorded by the shellPeter Stephenson2011-07-251-6/+12
|
* 29555: fix problem using open fd beyond max_zsh_fdPeter Stephenson2011-07-191-5/+11
|
* 29503: Missing popheap() on failed autoloadPeter Stephenson2011-06-231-0/+1
|
* 29492: add argument handling to anonymous functionsPeter Stephenson2011-06-191-28/+37
|
* 29367, 29368: avoid redirecting the xtrace of simple commands along withBart Schaefer2011-05-241-1/+1
| | | | their standard error.
* 29307, 29308 + replies: Fix some doubled words in docs and comments.Mikael Magnusson2011-05-191-1/+1
|
* 29165: use term.h globally if needed at all.Peter Stephenson2011-05-091-3/+3
|
* 29129: reading of end of fd arrayPeter Stephenson2011-05-021-4/+5
|
* 28866: with POSIX_BUILTINS "command" prefix resets specialnessPeter Stephenson2011-03-061-2/+5
|
* 28795 plus typos noticed by Mikael: careful with forked shellsPeter Stephenson2011-02-231-4/+6
|
* 28791: exit on errors with special builtins with POSIXBUILTINSPeter Stephenson2011-02-221-7/+15
|
* 28784: exit on exec redirection error with POISX_BUILTINSPeter Stephenson2011-02-211-2/+17
|
* 28762: fix coproc file desriptor closingPeter Stephenson2011-02-171-2/+6
|
* Mikael: 28531: typosPeter Stephenson2010-12-161-1/+1
|
* 28469: fix memory leak in anonymous functionPeter Stephenson2010-12-051-0/+4
|