Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove unnecessary ternary setting lastval. | Peter Stephenson | 2014-12-07 | 1 | -1/+1 |
| | |||||
* | First go at separating errors and keyboard interrupts | Peter Stephenson | 2014-12-07 | 1 | -21/+35 |
| | | | | | | | | This is the first posting exactly as was, with known errors and omissions. Basic strategy is to introduce bits to errflag and to set and reset them separately. | ||||
* | 33818: fix types passed to sizeof detected by coverity as being wrong | Oliver Kiddle | 2014-11-30 | 1 | -2/+2 |
| | |||||
* | 33816, 33819: GLOB_ASSIGN changes integer and floating type variables to ↵ | Barton E. Schaefer | 2014-11-28 | 1 | -1/+9 |
| | | | | string scalars | ||||
* | 33775: error opening file in $(<...) is not fatal | Barton E. Schaefer | 2014-11-23 | 1 | -2/+2 |
| | |||||
* | 33614 (based on RedHat BZ-978613): signal safety when updating global state ↵ | Barton E. Schaefer | 2014-11-06 | 1 | -0/+6 |
| | | | | in execshfunc() | ||||
* | Treat exec from subshell as if forked | Peter Stephenson | 2014-11-02 | 1 | -0/+9 |
| | | | | | This removes weird behaviour when optimising the last command. In particular SHLVL is correct from a subshell executed as the last command. | ||||
* | 33531 with additions: retain status of exited background jobs. | Peter Stephenson | 2014-10-26 | 1 | -2/+0 |
| | | | | | | | | Add linked list of unwaited-for background jobs. Truncate at value of _SC_CHILD_MAX discarding oldest. Remove old lastpid_status mechanism for latest exited process only. Slightly tighten safety of permanently allocated linked lists so that this doesn't compromise signal handling. | ||||
* | 33493: use correct command name in error messages about "ulimit" failure; ↵ | Barton E. Schaefer | 2014-10-22 | 1 | -0/+1 |
| | | | | restore internal copy of limits if setrlimit() fails, so the error won't repeat | ||||
* | 33365: avoid buffer overflow for very long fds in >& fd syntax | Mikael Magnusson | 2014-10-06 | 1 | -1/+1 |
| | |||||
* | 33325: fix ksh autoloads with redirections on function definitions | Peter Stephenson | 2014-10-02 | 1 | -19/+63 |
| | |||||
* | Merge branch 'master' of git://git.code.sf.net/p/zsh/code | Barton E. Schaefer | 2014-09-29 | 1 | -4/+88 |
|\ | | | | | | | | | Conflicts: ChangeLog | ||||
| * | 33286: handle redirections for multiply named functions | Peter Stephenson | 2014-09-29 | 1 | -1/+16 |
| | | |||||
| * | 33285: apply function definition redirections at execution | Peter Stephenson | 2014-09-29 | 1 | -4/+73 |
| | | |||||
* | | 33268: interactive shells treat SIGPIPE like SIGHUP if and only if SHTTY is ↵ | Barton E. Schaefer | 2014-09-29 | 1 | -0/+2 |
|/ | | | | disconnected | ||||
* | 33100: check $fd more rigorously in "exec {fd}<&-" | Barton E. Schaefer | 2014-09-03 | 1 | -6/+18 |
| | |||||
* | 33077: SHTTY = -1 when closing it in closem() | Barton E. Schaefer | 2014-08-31 | 1 | -1/+4 |
| | |||||
* | 32768 with further modifications: LOCAL_LOOPS option. | Peter Stephenson | 2014-06-13 | 1 | -2/+15 |
| | |||||
* | 32568: consistency in handling of errflag condition during substitutions | Barton E. Schaefer | 2014-04-20 | 1 | -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 Waldron | 2014-04-18 | 1 | -8/+18 |
| | | | | | | anonymous function argument list Also disallow process substitution in function name position. | ||||
* | 32176: plug additional deadlock-inducing pipe descriptor leaks | Peter Stephenson | 2013-12-21 | 1 | -1/+4 |
| | |||||
* | 32171: close pipe descriptor in parent when left side is a shell construct to | Barton E. Schaefer | 2013-12-20 | 1 | -0/+4 |
| | | | | | | prevent deadlock Also clean up ChangeLog entry that attributed 32119 to 32114 | ||||
* | 32091: WARN_CREATE_GLOBAL false positive. | Daniel Shahaf | 2013-12-06 | 1 | -1/+4 |
| | | | | In cases like () { foo=bar =true; } | ||||
* | 31919: fix deadlock when a shell builtin with a multio redirection is used ↵ | Barton E. Schaefer | 2013-10-27 | 1 | -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. Schaefer | 2013-10-27 | 1 | -5/+5 |
| | | | | | | redirect Fixes knock-on multios bug introduced by workers/20666 way back in 2005. | ||||
* | Use VERBOSE option in execstring() | Peter Stephenson | 2013-10-19 | 1 | -0/+5 |
| | |||||
* | 31846: fix NOEXEC option in execsimple() optimisation | Peter Stephenson | 2013-10-18 | 1 | -0/+3 |
| | |||||
* | 31832: make execrestore() more signal-safe. | Bart Schaefer | 2013-10-17 | 1 | -23/+27 |
| | |||||
* | 31809: Make whitespace clear in trace output for patterns. | Peter Stephenson | 2013-10-10 | 1 | -0/+13 |
| | |||||
* | 31549: Fix third problem with file descriptor management. | Peter Stephenson | 2013-07-21 | 1 | -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 Stephenson | 2013-07-20 | 1 | -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 subst | Peter Stephenson | 2013-07-17 | 1 | -27/+6 |
| | |||||
* | 31444: Basic code for enable/disable -p | Peter Stephenson | 2013-06-13 | 1 | -0/+5 |
| | |||||
* | 31376: Make sure every execve() is prefixed by winch_unblock() | Frank Terbeck | 2013-05-05 | 1 | -0/+6 |
| | | | | This was suggested by Bart Schaefer in 31375. | ||||
* | Revert "31372: Do not block SIGWINCH for child processes" | Frank Terbeck | 2013-05-05 | 1 | -3/+1 |
| | | | | | | This reverts commit f8ab02ad5f4226e46ab54e681a3e0404fdc1a9a6. As Bart suggested in 31375. | ||||
* | 31372: Do not block SIGWINCH for child processes | Bart Schaefer | 2013-05-05 | 1 | -1/+3 |
| | | | | Something similar may also be needed in the zpty and clone modules. | ||||
* | 31141: Tighten NO_CLOBBER restrictions on {fd} syntax | Peter Stephenson | 2013-03-10 | 1 | -1/+8 |
| | | | | to apply only if $fd is exactly an fd and nothing else. | ||||
* | 30876: fix obscure failures to propagate non-zero status | Peter Stephenson | 2012-12-13 | 1 | -3/+3 |
| | | | | from optimised simple commands within lists | ||||
* | 30726: make shell options passed to emulate stick along with the emulation | Peter Stephenson | 2012-10-11 | 1 | -6/+101 |
| | |||||
* | 30724: shell code optimisd to use execsimple() doesn't have a valid thisjob | Peter Stephenson | 2012-10-11 | 1 | -3/+24 |
| | |||||
* | 30722: fix some cases where emulations or options were not propagated properly | Peter Stephenson | 2012-10-07 | 1 | -1/+1 |
| | | | | from the emulate command | ||||
* | 30633: "functions -T" only traces marked function, not called functions | Peter Stephenson | 2012-08-21 | 1 | -2/+13 |
| | |||||
* | 30307 plus tweak suggsted by Wayne: use %lld for zlong when long long | Peter Stephenson | 2012-03-05 | 1 | -0/+4 |
| | |||||
* | 30272 (tweaked): most failures of fork() cause non-interactive shells to | Bart Schaefer | 2012-03-01 | 1 | -11/+12 |
| | | | | exit nonzero; bad options to "exec" cause exit under POSIX_BUILTINS. | ||||
* | 30181, plus rename of PF_* flags to PREFORK_*: | Peter Stephenson | 2012-02-12 | 1 | -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 Terbeck | 2012-01-16 | 1 | -1/+12 |
| | |||||
* | 30000 plus some comments: Better POSIXJOBs behaviour. | Peter Stephenson | 2011-12-12 | 1 | -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 bogus | Peter Stephenson | 2011-10-26 | 1 | -2/+12 |
| | | | | error on closing fd's 0 to 9; update test | ||||
* | users/16289: don't delete temporary files on disown. | Peter Stephenson | 2011-08-28 | 1 | -7/+7 |
| | | | | Document. | ||||
* | 29703: crash when failing to parse process substitutions | Peter Stephenson | 2011-08-17 | 1 | -1/+9 |
| |