Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Keep the time pipeline's stack in tact | 2018-04-24 | 1 | -4/+8 | |
| | | | | | | | | | | Revision 1.28 (2008) fixed stack abuse by allocating a new one and effectively clearing it. This broke pipelines such as $ time for i in . ; do : ; done /bin/ksh: : is read only Prompted by tb, OK millert, tb, jca | ||||
* | rename global "e" to genv to avoid accidental shadowing and aliasing. | 2015-12-30 | 1 | -4/+4 | |
| | | | | ok millert nicm tb | ||||
* | Add uses of areallocarray(). mksh and Bitrig ksh already have similar | 2015-11-01 | 1 | -7/+7 | |
| | | | | | | functions. With help from Theo Buehler. ok nicm@ | ||||
* | Move string.h include from sh.h to the files that use it. | 2015-10-19 | 1 | -1/+3 | |
| | | | | ok nicm@ | ||||
* | Remove three distracting aliases for NULL. | 2015-10-15 | 1 | -10/+10 | |
| | | | | ok nicm@ | ||||
* | Drop the silly and distracting ACCEPT and REJECT macros, from Michael | 2015-10-06 | 1 | -26/+24 | |
| | | | | McConville. No binary change. ok millert tedu | ||||
* | Last of the (thing *)0 -> NULL, from Michael McConville. No binary | 2015-09-18 | 1 | -4/+4 | |
| | | | | change. | ||||
* | Remove unnecessary casts, from Michael McConville. No binary change. | 2015-09-17 | 1 | -5/+5 | |
| | |||||
* | correct spelling of NULL from (char *)0. from Michael McConville. | 2015-09-15 | 1 | -16/+16 | |
| | | | | ok md5 | ||||
* | remove casts and null checks before free. from Michael McConville | 2015-09-01 | 1 | -3/+3 | |
| | | | | ok deraadt | ||||
* | for var in; do ... shouldn't be interpreted as for var; do ... | 2013-06-03 | 1 | -8/+3 | |
| | | | | | | Fix by returning an empty token list instead of NULL to consumers. Brings base ksh more in line with POSIX. | ||||
* | fix stack abuse in the `time' commmand, using alloc()'d memory instead. | 2008-07-23 | 1 | -1/+6 | |
| | | | | | | reported by Thorsten Glaser, thanks. ok millert@, earlier version miod@ | ||||
* | fix lint comments, no functional changes; ok ray | 2006-04-10 | 1 | -2/+2 | |
| | |||||
* | Revert for the moment, according to Mike Belopuhov this produces | 2006-03-21 | 1 | -3/+2 | |
| | | | | errors in rc and netstart. | ||||
* | Fix potential null deref and out-of-bound access. | 2006-03-20 | 1 | -2/+3 | |
| | | | | ok millert@ deraadt@ | ||||
* | remove excessive optimization; from adobriyan@gmail; ok tedu | 2006-03-14 | 1 | -7/+5 | |
| | |||||
* | fix a few name clashes with libc; found by lint. ok deraadt@ | 2005-12-11 | 1 | -3/+3 | |
| | |||||
* | lots of indentation cleanup, now ksh is readable like our other code. | 2005-03-30 | 1 | -49/+49 | |
| | | | | double checked to make sure no binaries change, and eyed by niallo | ||||
* | spacing | 2005-03-28 | 1 | -4/+4 | |
| | |||||
* | Use stdbool.h instead of rolling our own bools. | 2004-12-22 | 1 | -38/+38 | |
| | |||||
* | Ansification plus some minor knf. No binary change on i386 and | 2004-12-20 | 1 | -83/+51 | |
| | | | | | sparc64, binary change in lex.o on macppc due to introduction of dopprompt() prototype. ok millert@ | ||||
* | remove GCC_FUNC_ATTR/GCC_FUNC_ATTR2 and just use __attribute__ directly | 2004-12-18 | 1 | -4/+3 | |
| | | | | (we define it away in sys/cdefs.h if it is not supported). | ||||
* | deregister | 2004-12-18 | 1 | -22/+22 | |
| | |||||
* | Get rid of #ifdef KSH since we don't care about building a V7 style sh and | 2004-12-18 | 1 | -15/+1 | |
| | | | | the #ifdef KSH code is required to make a POSIX sh. From Matthias Kilian | ||||
* | Remove unused OS dependent #ifdef blocks, #defines and macro abstraction. | 2004-12-18 | 1 | -30/+29 | |
| | | | | First step in making the ksh code easier to read. From Matthias Kilian | ||||
* | typos from Jared Yanovich; | 2003-10-22 | 1 | -2/+2 | |
| | | | | ok deraadt@ | ||||
* | knf | 2002-06-09 | 1 | -2/+2 | |
| | |||||
* | patches from pdksh 5.2.13.11 | 1999-06-15 | 1 | -1/+5 | |
| | |||||
* | Bug fixes from pdksh-unstable-5.2.13.4, including "official" versions of | 1998-10-29 | 1 | -4/+13 | |
| | | | | | | | | | | | | | | | | | | 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... | ||||
* | Initialize the correct fields when creating an empty command. Fixes bug where a | 1998-10-09 | 1 | -5/+5 | |
| | | | | | function with no body ( e.g. "testfun () ;" ) would cause ksh to segfault when it was called. Eric Haszlakiewicz <erh@netbsd.org> | ||||
* | pdksh-5.2.13 + local changes | 1998-06-25 | 1 | -103/+89 | |
| | |||||
* | i am bored enough to fix terminal space/tab uglies | 1997-09-01 | 1 | -2/+2 | |
| | |||||
* | back out | 1997-06-19 | 1 | -20/+20 | |
| | |||||
* | (foo *)0 -> NULL | 1997-06-18 | 1 | -20/+20 | |
| | |||||
* | Update to 5.2.12. | 1996-11-21 | 1 | -2/+8 | |
| | |||||
* | Update to version 5.2.11. | 1996-10-13 | 1 | -2/+14 | |
| | |||||
* | Integrate pdksh 5.2.9. | 1996-10-01 | 1 | -2/+4 | |
| | |||||
* | update to pdksh-5.2.8 | 1996-08-19 | 1 | -6/+7 | |
| | |||||
* | Import pdksh 5.2.7. | 1996-08-14 | 1 | -0/+927 | |