summaryrefslogtreecommitdiff
path: root/bin/ksh/jobs.c
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2018-03-15Favor usage of __func__ in warning/error messages. Some of them referred to theanton
2018-01-16Introduce internal_warningf() and mark internal_errorf() as noreturnJeremie Courreges-Anglas
2018-01-08update comments that were left behind in the recent unifdef JOB commitSebastian Benoit
2018-01-05unifdef JOBS supportJeremie Courreges-Anglas
2018-01-05Typos in comments: 'it' -> 'if' and 'noityf' -> 'notify'.Theo Buehler
2016-03-17remove some ARGSUSEDmmcc
2015-12-30rename global "e" to genv to avoid accidental shadowing and aliasing.Ted Unangst
2015-12-14Move system headers from sh.h to those files that actually need them.tb
2015-11-12use symbolics for flags to openTheo de Raadt
2015-11-12Use isdigit() instead of ksh's homebrewed alternative.mmcc
2015-10-19Move string.h include from sh.h to the files that use it.mmcc
2015-10-19Move limits.h include from sh.h to the files that actually need it. Nommcc
2015-10-19Apply style(9) to header includes.mmcc
2015-09-17More (foo *)0 -> NULL, from Michael McConville. No binary change.Nicholas Marriott
2015-09-17Remove unnecessary casts, from Michael McConville. No binary change.Nicholas Marriott
2015-09-15correct spelling of NULL from (char *)0. from Michael McConville.Ted Unangst
2015-09-15stop abusing null (the variable) for an empty string in output formats.Ted Unangst
2015-09-10Replace newline and space defines by "\n" and " " directly, from MichaelNicholas Marriott
2015-09-10Remove INT32 define and just use int, from Martijn van Duren and MichaelNicholas Marriott
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failureTheo de Raadt
2013-09-04Add a proper suspend builtin that saves/restores the tty and pgrpTodd C. Miller
2009-12-13remember to restore errno (ie. stop someone from making a mistake later)Theo de Raadt
2009-12-12a dangling do / while that was very very uglyTheo de Raadt
2009-01-29pass "xerrok" status across the execution call stack to more closelyJared Yanovich
2007-09-06Be more smart waiting for input for non-interactive scripts. FixOtto Moerbeek
2006-02-06typos from alexey dobriyan;Jason McIntyre
2005-03-30lots of indentation cleanup, now ksh is readable like our other code.Theo de Raadt
2005-03-28spacingTheo de Raadt
2005-02-25knfTheo de Raadt
2004-12-30Remove -Wno-unused form CFLAGS and kill some unused vars found as a result ofOtto Moerbeek
2004-12-22Our times(3) just calls getrusage(2) and gettimeofday(2), converting secondsTodd C. Miller
2004-12-22Use stdbool.h instead of rolling our own bools.Todd C. Miller
2004-12-20Ansification plus some minor knf. No binary change on i386 andOtto Moerbeek
2004-12-19spacingTheo de Raadt
2004-12-18Use struct termios instead of TTY_state typedefTodd C. Miller
2004-12-18Flags set in signal handlers should be volatile sig_atomic_tTodd C. Miller
2004-12-18Get rid of #ifdef KSH since we don't care about building a V7 style sh andTodd C. Miller
2004-12-18Remove unused OS dependent #ifdef blocks, #defines and macro abstraction.Todd C. Miller
2004-11-04do the variety-pack of bash-style \letter expansions on prompt variables.Theo de Raadt
2003-11-10If "from fd" == "to fd" don't call dup2() or close "from fd".Todd C. Miller
2003-10-22typos from Jared Yanovich;Jason McIntyre
2003-03-13a few strcpy -> strlcpy; a couple people have mailed in a variety ofTheo de Raadt
2003-02-28typos; from Brian PooleJason McIntyre
2002-06-09knfTodd T. Fries
1999-08-04o Better fix for not sending a HUP to pg 0 from the pdksh maintainerTodd C. Miller
1999-08-02Check to make sure process group is not 0 before sending a SIGHUP toTodd C. Miller
1999-07-14pdksh-5.2.14Todd C. Miller
1999-01-19Updates from pdksh-unstable-5.2.13.7. Most notable change is:Todd C. Miller
1999-01-10sync with pdksh-unstable-5.2.13.6Todd C. Miller