summaryrefslogtreecommitdiff
path: root/bin/ksh
AgeCommit message (Expand)Author
2009-01-17Use libc qsort instead of private version. Tested by several people.Todd C. Miller
2008-08-11plug a memleak when freeing io redirection in commands.Jared Yanovich
2008-07-23fix stack abuse in the `time' commmand, using alloc()'d memory instead.Jared Yanovich
2008-07-21Extra sanity checking for afree(); OK deraadt@ and pvalchev@Todd C. Miller
2008-07-12Fix a strlcpy() bound.Miod Vallat
2008-07-05ksh starting as root will refuse to import a PS1 prompt unless itDamien Miller
2008-07-03fix inifinite loop with set -o csh-history and !<space> as input.Otto Moerbeek
2008-05-20cast pointer arithmetic to unsigned so we can behave correctly onFederico G. Schwindt
2008-05-17documentation tweaks.Igor Sobrado
2008-05-08documentation tweaks.Igor Sobrado
2008-03-21Make ulimit able to get and set multiple limits in a single invocationTodd C. Miller
2008-01-12Remove ulimit MLINK, it is a shell built-in.Miod Vallat
2007-11-25spelling fixes, from Martynas Venckus;Jason McIntyre
2007-10-15specifying int instead of just unsigned is better styleTheo de Raadt
2007-09-06Be more smart waiting for input for non-interactive scripts. FixOtto Moerbeek
2007-09-05Call ERR trap _before_ doing exit handling. Otherwise it's too lateOtto Moerbeek
2007-09-03Unsetting a non-existent variable is not an error. SeeOtto Moerbeek
2007-08-02backout last change; iff is right.Federico G. Schwindt
2007-08-02while i'm here: iff -> ifFederico G. Schwindt
2007-08-02another memory leak fix found by coverity. from netbsd but modified.Federico G. Schwindt
2007-08-02fix memory leaks and one potential null deref found by coverity. from netbsd.Federico G. Schwindt
2007-08-01escape [, ], and ? as well. from cbiere@netbsd.Federico G. Schwindt
2007-06-02s/FALLTROUGH/FALLTHROUGH/Moritz Jodeit
2007-05-31Only process ENV when in interactive mode as SU says. Started byOtto Moerbeek
2007-05-31convert to new .Dd format;Jason McIntyre
2006-11-30typos; from alf schlichtingJason McIntyre
2006-11-20Compute user-given ulimit value times ulimit unit as an rlim_t value, not aMiod Vallat
2006-11-02Only check if last three letters are "/sh" if string is at leastRay Lai
2006-08-03comment fix; from tamas teveszJason McIntyre
2006-07-26clarifications for OPTIND:Jason McIntyre
2006-07-10fix ksh prompt wrapping, from Marcus Glocker <marcus@nazgul.ch>.Bob Beck
2006-06-16Work around a problem with \$ expansion where \$\$ turned into pid ($$)Dale Rahn
2006-06-01simplify the PS1 section somewhat by moving the ! and \! stuff together;Jason McIntyre
2006-05-30document some advice when \$ is part of your prompt;Jason McIntyre
2006-05-29Implement \$ and \# expansion for PS1. Whoever thought it a cleverOtto Moerbeek
2006-05-21Set the index of item[0], since it might not have been set beforeOtto Moerbeek
2006-05-18paramter -> parameterMiod Vallat
2006-04-22back out last - it was not a command line prompt;Jason McIntyre
2006-04-21missing command line prompt;Jason McIntyre
2006-04-10fix lint comments, no functional changes; ok rayJared Yanovich
2006-04-02use SEEK_* for lseek()Theo de Raadt
2006-03-21Revert for the moment, according to Mike Belopuhov this producesOtto Moerbeek
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-17Simplify savefd() by removing the "noclose" flag and make nocloseTodd C. Miller
2006-03-14remove excessive optimization; from adobriyan@gmail; ok teduTheo de Raadt
2006-03-14only santa checks things twice; from adobriyan@gmail; ok teduTheo de Raadt
2006-03-13Interpret zero-filled numbers as decimal; PR 4213; from AlexeyOtto Moerbeek
2006-03-12might as well make ksh_getopt() match real getopt(), ie. get rid of thatTheo de Raadt
2006-03-07simplify the description of what a restricted shell is:Jason McIntyre