summaryrefslogtreecommitdiff
path: root/bin/ksh/c_sh.c
AgeCommit message (Expand)Author
2008-07-23fix stack abuse in the `time' commmand, using alloc()'d memory instead.Jared Yanovich
2007-09-03Unsetting a non-existent variable is not an error. SeeOtto Moerbeek
2007-08-02fix memory leaks and one potential null deref found by coverity. from netbsd.Federico G. Schwindt
2006-04-10fix lint comments, no functional changes; ok rayJared Yanovich
2006-03-21Partially revert last commit; jaredy@ showed the NULL deref can'tOtto Moerbeek
2006-03-20Fix potential null deref and out-of-bound access.Otto Moerbeek
2006-03-12might as well make ksh_getopt() match real getopt(), ie. get rid of thatTheo de Raadt
2005-10-08Silence bogus gcc warning.Otto Moerbeek
2005-10-06Introducing mknod as a built-in. It might be against the unixOtto Moerbeek
2005-03-30lots of indentation cleanup, now ksh is readable like our other code.Theo de Raadt
2005-02-02Introduce POSIX hex and octal (0x... and 0...) constants in arithmeticOtto Moerbeek
2004-12-28ansi. No binary change.Jonathan Gray
2004-12-22Fix a use-after-free, that causs core dumps if a shell is killedOtto 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-19umask returns mode_t, not intTodd C. Miller
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-03-13a few strcpy -> strlcpy; a couple people have mailed in a variety ofTheo de Raadt
2003-02-28typos; from Brian PooleJason McIntyre
2003-01-04spellingTheo de Raadt
2002-06-09knfTodd T. Fries
1999-07-14pdksh-5.2.14Todd C. Miller
1999-06-15patches from pdksh 5.2.13.11Todd C. Miller
1999-01-10sync with pdksh-unstable-5.2.13.6Todd C. Miller
1999-01-10Fix bug in c_sh.c where an unitialized variable could be used.Todd 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-25pdksh-5.2.13 + local changesTodd C. Miller
1997-08-05Fixes for a variety of pdksh problems:grr
1997-06-19back outkstailey
1997-06-18(foo *)0 -> NULLkstailey
1996-10-13Update to version 5.2.11.Jason Downs
1996-08-19update to pdksh-5.2.8Jason Downs
1996-08-14Import pdksh 5.2.7.Jason Downs