summaryrefslogtreecommitdiff
path: root/bin/ksh/jobs.c
AgeCommit message (Collapse)Author
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
double checked to make sure no binaries change, and eyed by niallo
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
that. ok millert@
2004-12-22Our times(3) just calls getrusage(2) and gettimeofday(2), converting secondsTodd C. Miller
to ticks. Since ksh needs things in seconds it then converted them back. Avoid the silliness and use the getrusage(2) and gettimeofday(2) directly. With man page help from jmc@
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
sparc64, binary change in lex.o on macppc due to introduction of dopprompt() prototype. ok millert@
2004-12-19spacingTheo de Raadt
2004-12-18Use struct termios instead of TTY_state typedefTodd C. Miller
Use tc[gs]etattr() instead of [gs]et_tty() abstraction
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
the #ifdef KSH code is required to make a POSIX sh. From Matthias Kilian
2004-12-18Remove unused OS dependent #ifdef blocks, #defines and macro abstraction.Todd C. Miller
First step in making the ksh code easier to read. From Matthias Kilian
2004-11-04do the variety-pack of bash-style \letter expansions on prompt variables.Theo de Raadt
a few issues remain with \ and $ and ! because of early variable expansion done by incorrect eval/substitution, but this change is not responsible for that. tested by djm, jmc, and many others
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
ok deraadt@
2003-03-13a few strcpy -> strlcpy; a couple people have mailed in a variety ofTheo de Raadt
patches, and i already had this sitting on my laptop at that time.. i used that as a chance to note that we had all done the same work, more or less
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
o Includes fix for another unrelated problem where output of jobs command contains lots of ^A characters
1999-08-02Check to make sure process group is not 0 before sending a SIGHUP toTodd C. Miller
the process group on exit. This will cause problems if we are not the process group leader.
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
trap: exit traps now executed in subshells (without explicit exit call). See the Changelog for a full list of changes.
1999-01-10sync with pdksh-unstable-5.2.13.6Todd C. Miller
1999-01-08bug fixes from pdksh-unstable-5.2.13.5; some of which we already had.Todd C. Miller
1998-11-19better fixTodd C. Miller
1998-11-19thou shalt not follow the NULL pointer, that way lies madnessTodd C. Miller
1998-10-29Bug fixes from pdksh-unstable-5.2.13.4, including "official" versions ofTodd C. Miller
some that we had already fixed locally. o typeset -f FUNC doesn't print follows command (and expression) substitutions. o when re-allocating memory, too much may be copied from old memory. o set -o printed some options sans names. o emacs mode: <esc>. in very fist command causes core dump. o pdksh dumps core after a cd command. o typeset -i reports on array elements that have no value (at&t ksh reports on array base name - no index). o ulimit -ctn unlimittttted kills shell (resource exceeded). o ". /dev/null" says access denied. o flag field in aliases incorrectly changed (all flags set instead of clearing ISSET) in exec.c(flushcom). o ${#array[*]} prints largest index instead of number of (set) elements in an array (ksh88 does the former). o sys_siglist[] doesn't always have NSIG non-null entries...
1998-06-25pdksh-5.2.13 + local changesTodd C. Miller
1997-06-19back outkstailey
1997-06-18(foo *)0 -> NULLkstailey
1996-11-21Update to 5.2.12.Jason Downs
1996-08-25Fix problems with compiling without KSH defined, add NOEDIT override.Jason Downs
1996-08-19update to pdksh-5.2.8Jason Downs
1996-08-14Import pdksh 5.2.7.Jason Downs