summaryrefslogtreecommitdiff
path: root/Src/exec.c
AgeCommit message (Collapse)AuthorFilesLines
2013-07-2131549: Fix third problem with file descriptor management.Peter Stephenson1-17/+1
Replace ad-hoc subsh_close file descriptor for pipe management with the new job-based addfilelist() mechanism.
2013-07-2031545: Use of FD_CLOEXEC to remove possibility of fd reuse.Peter Stephenson1-0/+2
File descriptors of mmap'd dump files are closed if and only if an exec is performed.
2013-07-1731528: use job table to record file descriptors associated with process substPeter Stephenson1-27/+6
2013-06-1331444: Basic code for enable/disable -pPeter Stephenson1-0/+5
2013-05-0531376: Make sure every execve() is prefixed by winch_unblock()Frank Terbeck1-0/+6
This was suggested by Bart Schaefer in 31375.
2013-05-05Revert "31372: Do not block SIGWINCH for child processes"Frank Terbeck1-3/+1
This reverts commit f8ab02ad5f4226e46ab54e681a3e0404fdc1a9a6. As Bart suggested in 31375.
2013-05-0531372: Do not block SIGWINCH for child processesBart Schaefer1-1/+3
Something similar may also be needed in the zpty and clone modules.
2013-03-1031141: Tighten NO_CLOBBER restrictions on {fd} syntaxPeter Stephenson1-1/+8
to apply only if $fd is exactly an fd and nothing else.
2012-12-1330876: fix obscure failures to propagate non-zero statusPeter Stephenson1-3/+3
from optimised simple commands within lists
2012-10-1130726: make shell options passed to emulate stick along with the emulationPeter Stephenson1-6/+101
2012-10-1130724: shell code optimisd to use execsimple() doesn't have a valid thisjobPeter Stephenson1-3/+24
2012-10-0730722: fix some cases where emulations or options were not propagated properlyPeter Stephenson1-1/+1
from the emulate command
2012-08-2130633: "functions -T" only traces marked function, not called functionsPeter Stephenson1-2/+13
2012-03-0530307 plus tweak suggsted by Wayne: use %lld for zlong when long longPeter Stephenson1-0/+4
2012-03-0130272 (tweaked): most failures of fork() cause non-interactive shells toBart Schaefer1-11/+12
exit nonzero; bad options to "exec" cause exit under POSIX_BUILTINS.
2012-02-1230181, plus rename of PF_* flags to PREFORK_*:Peter Stephenson1-3/+3
Pass sh-wordsplitting instructions to paramsubst() using flags, avoiding side effects of explicitly setting and unsetting the SHWORDSPLIT option.
2012-01-1630111: Src/exec.c: Fix segfaults with exec options.Frank Terbeck1-1/+12
2011-12-1230000 plus some comments: Better POSIXJOBs behaviour.Peter Stephenson1-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
2011-10-2629844, 29845: remove bogusPeter Stephenson1-2/+12
error on closing fd's 0 to 9; update test
2011-08-28users/16289: don't delete temporary files on disown.Peter Stephenson1-7/+7
Document.
2011-08-1729703: crash when failing to parse process substitutionsPeter Stephenson1-1/+9
2011-08-1429677: Do not allow external processes in a pipeline to become suspendedBart Schaefer1-0/+2
when the end of the pipe is controlled by a builtin in the current shell which cannot itself become suspended.
2011-08-1029654: "wait" should resume stopped jobs identified by process ID as wellBart Schaefer1-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.
2011-07-2529561: Allow closing of fd's not recorded by the shellPeter Stephenson1-6/+12
2011-07-1929555: fix problem using open fd beyond max_zsh_fdPeter Stephenson1-5/+11
2011-06-2329503: Missing popheap() on failed autoloadPeter Stephenson1-0/+1
2011-06-1929492: add argument handling to anonymous functionsPeter Stephenson1-28/+37
2011-05-2429367, 29368: avoid redirecting the xtrace of simple commands along withBart Schaefer1-1/+1
their standard error.
2011-05-1929307, 29308 + replies: Fix some doubled words in docs and comments.Mikael Magnusson1-1/+1
2011-05-0929165: use term.h globally if needed at all.Peter Stephenson1-3/+3
2011-05-0229129: reading of end of fd arrayPeter Stephenson1-4/+5
2011-03-0628866: with POSIX_BUILTINS "command" prefix resets specialnessPeter Stephenson1-2/+5
2011-02-2328795 plus typos noticed by Mikael: careful with forked shellsPeter Stephenson1-4/+6
2011-02-2228791: exit on errors with special builtins with POSIXBUILTINSPeter Stephenson1-7/+15
2011-02-2128784: exit on exec redirection error with POISX_BUILTINSPeter Stephenson1-2/+17
2011-02-1728762: fix coproc file desriptor closingPeter Stephenson1-2/+6
2010-12-16Mikael: 28531: typosPeter Stephenson1-1/+1
2010-12-0528469: fix memory leak in anonymous functionPeter Stephenson1-0/+4
2010-11-2728461: flush stderr in PRINT_EXIT_VALUE handling.Bart Schaefer1-0/+1
2010-09-1428259: Finally fix some ancient problems with here-documentsPeter Stephenson1-4/+12
2010-08-3128220 plus some comments: fix "HELLO=$HELLO shellfunc"Peter Stephenson1-3/+23
2010-08-2228179, users/15314, users/15310, users/15200:Peter Stephenson1-1/+1
various job and process control fixes
2010-07-1528073: allow #! scripts to search path if interpreter not foundPeter Stephenson1-0/+7
2010-06-1428037: improved error messages for module autoloadsPeter Stephenson1-2/+4
of math functions and builtins
2010-05-1227951: Add $ZSH_EVAL_CONTEXT and $zsh_eval_contxtPeter Stephenson1-11/+36
2010-05-0527947: some cases where we should execute EXIT trapsPeter Stephenson1-1/+7
2010-02-2427754 plus NEWS change: add "zsystem flock"Peter Stephenson1-1/+8
2010-02-2227721: rationalise initialisation of file descriptorsPeter Stephenson1-1/+1
2010-02-09Geoff: 27693: rename underscore to avoid name clashPeter Stephenson1-8/+8
2009-12-16Check the return value of all pipe(), read(), and write() calls.Wayne Davison1-29/+59
Gets rid of all the remaining "ignoring return value" compiler warnings, and makes some read/write operations safer by ensuring that an EINTR is handled.