summary refs log tree commit diff
path: root/Src/jobs.c
Commit message (Collapse)AuthorAgeFilesLines
* 33354: when backgrounding a pipeline, close all pipe descriptors in the parentBarton E. Schaefer2014-10-041-1/+3
| | | | Add test for both this and 33345+33346
* 33042: $? and $pipestatus report 128+signal number for stopped jobsBarton E. Schaefer2014-08-221-5/+10
|
* 32624: use correct scaling factor (clock ticks) for timesPeter Stephenson2014-05-291-15/+17
|
* 32178: fix another acquire_pgrp() infinite loopBarton E. Schaefer2013-12-251-0/+4
|
* 32176: plug additional deadlock-inducing pipe descriptor leaksPeter Stephenson2013-12-211-13/+25
|
* 31929: Src/jobs.c: fix DPUTS3() test condition from 31906.Barton E. Schaefer2013-10-291-1/+1
|
* 31906: fix race-condition interaction of $pipestatus with job controlBarton E. Schaefer2013-10-261-3/+10
| | | | printjob() should not reference oldjobtab for job numbers unless it is being called from bin_fg(). printjob() also must not attempt to update pipestats when called from bin_fg(). acquire_pgrp() should not loop infintely if the shell is not interactive. Update the $pipestatus stress test so that it also exercises the oldjobtab repair.
* 31885: fix PIPEFAIL when the last command executes in the current shellBarton E. Schaefer2013-10-241-18/+24
|
* 31879 plus misc.: improve $pipestatus handling and add a test for itBarton E. Schaefer2013-10-231-17/+35
|
* users:18023: Add PIPEFAIL optionPeter Stephenson2013-10-061-3/+10
|
* 31536 with additions: Fix hang in previous process substitution fix.Peter Stephenson2013-07-191-0/+25
| | | | Close applicable file descriptors when waiting for a job.
* 31528: use job table to record file descriptors associated with process substPeter Stephenson2013-07-171-5/+37
|
* users/17042: don't stomp the environment in "jobs -Z" unless we've firstBart Schaefer2012-11-181-0/+2
| | | | copied it to new memory.
* 30724: shell code optimisd to use execsimple() doesn't have a valid thisjobPeter Stephenson2012-10-111-1/+7
|
* 30687 with typo corrected: don't REPORTTIME if zleactivePeter Stephenson2012-09-211-0/+2
|
* Danek: 30485: trailing garbage after signal number not recognised in killPeter Stephenson2012-05-221-3/+8
|
* 30410 plus one other case: avoid divide-by-zero errorsPeter Stephenson2012-04-151-3/+10
| | | | in TIMEFMT interpretation
* users/16289: don't delete temporary files on disown.Peter Stephenson2011-08-281-13/+18
| | | | Document.
* 29650: Don't lose time info after a suspend+restore.Wayne Davison2011-08-161-0/+2
|
* unposted: fix capitalized word in the middle of a sentenceMikael Magnusson2011-08-141-1/+1
|
* 29654: "wait" should resume stopped jobs identified by process ID as wellBart Schaefer2011-08-101-6/+13
| | | | | as by job number; temporary (?) workaround for pipelines getting lost if TSTP is delivered when a shell builtin is the tail of the pipe.
* 29481: always return a matching job in findproc() but scan the whole listBart Schaefer2011-06-151-4/+6
| | | | to prefer running jobs
* 29472: findproc() needs at least to also return stopped jobs.Bart Schaefer2011-06-121-1/+2
|
* 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-1/+1
|
* Stef van Vlierberghe: 28965 (as posted in 28967):Peter Stephenson2011-04-011-1/+18
| | | | findproc() should not return processes not marked as SP_RUNNING
* 28179, users/15314, users/15310, users/15200:Peter Stephenson2010-08-221-2/+57
| | | | various job and process control fixes
* 28172: mark processes as not stopped if sent SIGCONTPeter Stephenson2010-08-181-4/+14
|
* users/15219: PRINTEXITVALUE if terminated by signalPeter Stephenson2010-07-311-0/+4
|
* always print job status if non-zero status and PRINTEXITSVALUEPeter Stephenson2010-07-311-12/+18
|
* Check the return value of all pipe(), read(), and write() calls.Wayne Davison2009-12-161-1/+1
| | | | | | 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.
* 27442 plus tweak: wait returns status for $! even if exitedPeter Stephenson2009-12-021-0/+20
|
* Apple opensource patches suggested by Jun T. in 27300Peter Stephenson2009-09-301-1/+1
|
* 27159: restore pre-23067 behavior of SIGINT outside a "wait", so thatBart Schaefer2009-07-201-2/+2
| | | | foreground jobs that handle or ignore interrupts are not orphaned.
* 27134: Close SHTTY on exec.Peter Stephenson2009-07-121-1/+3
| | | | | 27135: POSIX_JOBS leaves MONITOR on in subshell and doesn't save parent job table.
* 27131: allow MONITOR in subshell by not closing SHTTYPeter Stephenson2009-07-111-1/+2
|
* 27106: reset status on command that expands to emptyPeter Stephenson2009-07-101-45/+58
| | | | 27122: add POSIX_JOBS option
* 27119: job output to stdout if non-interactivePeter Stephenson2009-07-101-6/+5
| | | | no automated jobs notifications
* 27112: allow jobbing output if not interactivePeter Stephenson2009-07-091-8/+10
|
* users/13937, users/13939: configure.ac, Src/jobs.c: check forBart Schaefer2009-03-161-0/+8
| | | | and if available use setproctitle() for "jobs -Z".
* users/13910: spawnjob() should output to ttyPeter Stephenson2009-03-141-4/+4
|
* 25345, 25347: neaten interface from main shell to zlePeter Stephenson2008-07-311-2/+2
|
* users/12812: fix hang with confusion over process numbersPeter Stephenson2008-05-021-0/+9
|
* 22281: wait shouldn't return immediately on signal unless trappedPeter Stephenson2008-03-251-2/+4
|
* 24279: allow terminal changes after zle -I to be acquired by main shellPeter Stephenson2007-12-181-1/+1
|
* users/11818: allow non-numeric keys for job status parametersPeter Stephenson2007-09-051-7/+11
|
* users/11807: fix some job display bugsPeter Stephenson2007-09-041-16/+37
|
* 23665: autoloading of module features and related tweaksPeter Stephenson2007-07-061-2/+2
|
* 23460: fix problem with ( stuff ) >multio1 >multio2Peter Stephenson2007-05-231-0/+9
|
* unposted: uninitialized variable in 23238Peter Stephenson2007-03-271-8/+8
|