summaryrefslogtreecommitdiff
path: root/bin/ksh/exec.c
AgeCommit message (Expand)Author
2013-06-10POSIX specifies that for an AND/OR list, only the last command'sTodd C. Miller
2009-01-29pass "xerrok" status across the execution call stack to more closelyJared Yanovich
2007-09-05Call ERR trap _before_ doing exit handling. Otherwise it's too lateOtto Moerbeek
2007-08-02another memory leak fix found by coverity. from netbsd but modified.Federico G. Schwindt
2006-04-10fix lint comments, no functional changes; ok rayJared Yanovich
2006-03-17Simplify savefd() by removing the "noclose" flag and make nocloseTodd C. Miller
2005-12-11fix a few name clashes with libc; found by lint. ok deraadt@Otto Moerbeek
2005-12-11remove unused variables and functionsTheo de Raadt
2005-09-11Fix " handling in here documents. POSIX says they are not special, soOtto Moerbeek
2005-03-30lots of indentation cleanup, now ksh is readable like our other code.Theo de Raadt
2005-03-28spacingTheo de Raadt
2004-12-22Fix a use-after-free, that causs core dumps if a shell is killedOtto Moerbeek
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-18Replace fd_clexec() with calls to fcntl(fd, F_SETFD, FD_CLOEXEC)Todd C. Miller
2004-12-18deregisterTodd 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
2003-12-15Unbreak parameter assignment when calling bourne style functions;Otto Moerbeek
2003-11-10If "from fd" == "to fd" don't call dup2() or close "from fd".Todd C. Miller
2003-11-10For the >& and <& operators, add a check for "dup from" == "dup to" andTodd C. Miller
2003-10-22typos from Jared Yanovich;Jason McIntyre
2003-02-28typos; from Brian PooleJason McIntyre
2002-06-09knfTodd T. Fries
2002-01-16Use the volatile specifier to fix warnings about variables beingTodd C. Miller
2001-07-19Back out last change, it caused problems with exit vals.Todd C. Miller
2001-07-03Merge in pdksh-5.2.14-patches.2 to fix some problems with propagatedTodd C. Miller
2001-02-19bash-like 'double-tab' completionCamiel Dobbelaar
1999-07-15silence -WallTodd C. Miller
1999-07-14Official fix for workaround in 1.18Todd C. Miller
1999-07-14pdksh-5.2.14Todd C. Miller
1999-06-23When redirecting to a file with stdout closed, don't blithely reuseTodd C. Miller
1999-06-15patches from pdksh 5.2.13.11Todd 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
1999-01-08bug fixes from pdksh-unstable-5.2.13.5; some of which we already had.Todd C. Miller
1998-10-29Bug fixes from pdksh-unstable-5.2.13.4, including "official" versions ofTodd C. Miller
1998-06-27new ksh code stupidly did not permit ". /dev/null"; enable that againTheo de Raadt
1998-06-25pdksh-5.2.13 + local changesTodd C. Miller
1997-09-12Avoid longjmp/vfork clobbering.Todd C. Miller
1997-06-19back outkstailey
1997-06-18(foo *)0 -> NULLkstailey
1997-01-02After discussing $_ with the maintainer, revert ksh behaviour and completelyJason Downs
1997-01-02Add FSH (set -o sh), initialize it if we're /bin/sh, and add the first use:Jason Downs
1996-11-21Update to 5.2.12.Jason Downs
1996-10-01Integrate pdksh 5.2.9.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