Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-12-13 | remember to restore errno (ie. stop someone from making a mistake later) | Theo de Raadt | |
ok guenther | |||
2009-12-12 | a dangling do / while that was very very ugly | Theo de Raadt | |
2009-10-28 | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | Theo de Raadt | |
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | |||
2009-07-02 | avoid infinite recursion if unlink fails. reported by Stefan Pettersson | Martynas Venckus | |
ok theo, millert@ | |||
2009-06-29 | make VSEARCH werase act like regular werase after the last change. | Martynas Venckus | |
vi back-words and emacs kill-region are not completely the same. ok merdely@, millert@. "Get it in" Darrin Chandler | |||
2009-06-10 | Fix problem with ^w fix that broke 'B' | Michael Erdely | |
Found by Daniel LEVAI Fix by Darrin Chandler ok millert@ | |||
2009-06-04 | "make ksh vi mode handle werase more like vi. It's really irritating to | Michael Erdely | |
have whole paths go away on ^W instead of just the last bit." "That looks right to me" millert@, "YES kthx bye!" thib@ | |||
2009-06-02 | fix macro handling | Alexander Hall | |
2009-06-01 | please sthen the 80 character pedant | Theo de Raadt | |
2009-06-01 | "let --" was crashing ksh; found by phy0@rambler.ru. Various other expressions | Theo de Raadt | |
involving ++ and -- also ran into this. Insufficient checks for end of parse in the tokenizer made it assume that an lvalue had been found ok millert otto | |||
2009-05-28 | fix missing bracket by slightly rewriting; from Alan R. S. Bueno | Jason McIntyre | |
2009-05-05 | Fix usage string for mknod builtin. | Todd C. Miller | |
2009-04-19 | don't print extraneous padding characters when tab-completion file/command | Stuart Henderson | |
lists encounter a name too long for the width of the terminal. from Matthew Haub, no objections krw@. | |||
2009-03-06 | after some discussion with millert, pull in the character class info | Jason McIntyre | |
from glob(7) to the shell pages - they have their own glob stuff, and pointing to glob(7) is just not helpful. ok millert | |||
2009-03-05 | Add glob(7) and refer to it. OK jmc@ sobrado@ | Todd C. Miller | |
2009-03-03 | Add POSIX character class support ([:alpha:] and friends) to ksh globbing. | Todd C. Miller | |
OK deraadt@ krw@ jmc@ sobrado@ | |||
2009-03-01 | Fix PR #723: test(1) operator precedence inconsistent with POSIX | Otto Moerbeek | |
Make sure ksh builtin test and test(1) do not differ. From Christiano Farina Haesbaert. ok miod@ | |||
2009-02-07 | some tweaks for previous that got missed; | Jason McIntyre | |
2009-02-07 | Ensure that *wp isn't NULL. | Matthias Kilian | |
ok otto@ | |||
2009-02-07 | Make built-in echo behave according to POSIX when set -o posix is in effect: | Philip Guenthe | |
the only option is -n, and only one of those is parsed. diff from Ingo Schwarze ok otto@ kili@; manpage changes ok jmc@ | |||
2009-01-29 | pass "xerrok" status across the execution call stack to more closely | Jared Yanovich | |
match what both POSIX and ksh.1 already describe in regards to set -e/errexit's behavior in determining when to exit from nonzero return values. specifically, the truth values tested as operands to `&&' and `||', as well as the resulting compound expression itself, along with the truth value resulting from a negated command (i.e. a pipeline prefixed `!'), should not make the shell exit when -e is in effect. issue reported by matthieu. testing matthieu, naddy. ok miod (earlier version), otto. man page ok jmc. | |||
2009-01-17 | Use libc qsort instead of private version. Tested by several people. | Todd C. Miller | |
2008-08-11 | plug a memleak when freeing io redirection in commands. | Jared Yanovich | |
the leaked memory is actually reclaimed when the command finishes but may grow until that happens, e.g. during command execution. ok phessler@. testing sobrado@ jmc@ oga@. | |||
2008-07-23 | fix stack abuse in the `time' commmand, using alloc()'d memory instead. | Jared Yanovich | |
reported by Thorsten Glaser, thanks. ok millert@, earlier version miod@ | |||
2008-07-21 | Extra sanity checking for afree(); OK deraadt@ and pvalchev@ | Todd C. Miller | |
2008-07-12 | Fix a strlcpy() bound. | Miod Vallat | |
2008-07-05 | ksh starting as root will refuse to import a PS1 prompt unless it | Damien Miller | |
contains a '#' character. Make it also accept the \$ PS1 sequence (which is supposed to automagically be $ or # depending on the user running the shell) unless ksh has been started in sh-compatibility mode. pointed out by millert@ when I asked why my SUDO_PS1 was not being honoured; ok millert@ | |||
2008-07-03 | fix inifinite loop with set -o csh-history and !<space> as input. | Otto Moerbeek | |
report and testing by david@; ok millert@ jaredy@ | |||
2008-05-20 | cast pointer arithmetic to unsigned so we can behave correctly on | Federico G. Schwindt | |
underflows. fixes fc -l 1 in my box where line is 1667511151. krw@ ok. | |||
2008-05-17 | documentation tweaks. | Igor Sobrado | |
ok (some time ago) jmc@ | |||
2008-05-08 | documentation tweaks. | Igor Sobrado | |
2008-03-21 | Make ulimit able to get and set multiple limits in a single invocation | Todd C. Miller | |
like bash and zsh do. Requested by espie@, OK deraadt@ | |||
2008-01-12 | Remove ulimit MLINK, it is a shell built-in. | Miod Vallat | |
2007-11-25 | spelling fixes, from Martynas Venckus; | Jason McIntyre | |
2007-10-15 | specifying int instead of just unsigned is better style | Theo de Raadt | |
2007-09-06 | Be more smart waiting for input for non-interactive scripts. Fix | Otto Moerbeek | |
based on a diff from debian: see their bug#296446. ok millert@ sobrado@ | |||
2007-09-05 | Call ERR trap _before_ doing exit handling. Otherwise it's too late | Otto Moerbeek | |
and the ERR trap won't get called at all. ok millert@ | |||
2007-09-03 | Unsetting a non-existent variable is not an error. See | Otto Moerbeek | |
http://www.opengroup.org/onlinepubs/009695399/utilities/unset.html report from Arkadiusz Miskiewicz; fixed based on http://cvs.pld-linux.org diff; ok millert@ fgsch@ | |||
2007-08-02 | backout last change; iff is right. | Federico G. Schwindt | |
prompted by deraadt@ | |||
2007-08-02 | while i'm here: iff -> if | Federico G. Schwindt | |
2007-08-02 | another memory leak fix found by coverity. from netbsd but modified. | Federico G. Schwindt | |
millert@ ok. | |||
2007-08-02 | fix memory leaks and one potential null deref found by coverity. from netbsd. | Federico G. Schwindt | |
millert@ ok | |||
2007-08-01 | escape [, ], and ? as well. from cbiere@netbsd. | Federico G. Schwindt | |
millert@ ok. | |||
2007-06-02 | s/FALLTROUGH/FALLTHROUGH/ | Moritz Jodeit | |
2007-05-31 | Only process ENV when in interactive mode as SU says. Started by | Otto Moerbeek | |
tedu to fix make -j, SU thing spotted by naddy@; ok millert@ @tedu jmc@ for the man page bit. | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2006-11-30 | typos; from alf schlichting | Jason McIntyre | |
2006-11-20 | Compute user-given ulimit value times ulimit unit as an rlim_t value, not a | Miod Vallat | |
long value; catches some 32 bit overflows on 32 bit platforms. Found by drahn@, ok otto@ | |||
2006-11-02 | Only check if last three letters are "/sh" if string is at least | Ray Lai | |
three characters long. OK moritz@. | |||
2006-08-03 | comment fix; from tamas tevesz | Jason McIntyre | |