summaryrefslogtreecommitdiff
path: root/bin/ksh/var.c
AgeCommit message (Expand)Author
2015-12-30rename global "e" to genv to avoid accidental shadowing and aliasing.Ted Unangst
2015-12-14Move system headers from sh.h to those files that actually need them.tb
2015-10-19Move string.h include from sh.h to the files that use it.mmcc
2015-10-19Move limits.h include from sh.h to the files that actually need it. Nommcc
2015-10-19Apply style(9) to header includes.mmcc
2015-09-22Make errorf() and bi_errorf() handle a NULL argument.Todd C. Miller
2015-09-18Last of the (thing *)0 -> NULL, from Michael McConville. No binaryNicholas Marriott
2015-09-17Remove unnecessary casts, from Michael McConville. No binary change.Nicholas Marriott
2015-09-15correct spelling of NULL from (char *)0. from Michael McConville.Ted Unangst
2015-09-14Replace Tflag typedef with just int; ok teduNicholas Marriott
2015-09-14Apply the ancient art of tedu to ksh_limval.h. ok guentherNicholas Marriott
2015-09-10Kill another superfluous variable initialization; from Michael McConville.Jeremie Courreges-Anglas
2015-09-01remove casts and null checks before free. from Michael McConvilleTed Unangst
2015-08-19Don't re-include headers pulled by "sh.h". (I actually don't like this .hTheo de Raadt
2015-04-17Use getint() instead of intval() for parsing the columns variable,Theo de Raadt
2014-12-12Range check the value of the base for typeset -i base x=y. Instead ofJonathan Gray
2014-12-08Don't need special complex rand vs arc4random code. If theTheo de Raadt
2013-12-20Fix a crash in ksh when trying to access ${12345678901234567890}Vadim Zhukov
2013-12-18Remove artificial limit on the max array index.Todd C. Miller
2013-12-17ctype cleanups. Repeated re-audits of this sensitive area by okan andTheo de Raadt
2013-04-05SECONDS is, in a highly theoretical way, not y2k38 safe. comment it.Ted Unangst
2007-10-15specifying int instead of just unsigned is better styleTheo de Raadt
2007-08-02backout last change; iff is right.Federico G. Schwindt
2007-08-02while i'm here: iff -> ifFederico G. Schwindt
2007-08-02fix memory leaks and one potential null deref found by coverity. from netbsd.Federico G. Schwindt
2006-05-21Set the index of item[0], since it might not have been set beforeOtto Moerbeek
2006-03-13Interpret zero-filled numbers as decimal; PR 4213; from AlexeyOtto Moerbeek
2005-12-11fix a few name clashes with libc; found by lint. ok deraadt@Otto Moerbeek
2005-10-08Tell user which value of index is out of bounds. ok deraadt@Otto Moerbeek
2005-03-30lots of indentation cleanup, now ksh is readable like our other code.Theo de Raadt
2005-03-28spacingTheo de Raadt
2005-03-28spacingTheo de Raadt
2005-02-02Introduce POSIX hex and octal (0x... and 0...) constants in arithmeticOtto 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-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
2004-05-08unless specifically requested by setting the seed, use arc4random(); otto okTheo de Raadt
2003-08-05Don't allow alloc() and aresize() to fail. Their return value wasTodd C. Miller
2003-06-26protosTheo de Raadt
2003-04-16string cleaning. ok tedu@Thierry Deval
2003-03-13a few strcpy -> strlcpy; a couple people have mailed in a variety ofTheo de Raadt
2003-02-28typos; from Brian PooleJason McIntyre
2000-11-21Bug fixes from pdksh-5.2.14-patches.1:Todd 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-08bug fixes from pdksh-unstable-5.2.13.5; some of which we already had.Todd C. Miller
1998-06-25pdksh-5.2.13 + local changesTodd C. Miller
1997-09-01i am bored enough to fix terminal space/tab ugliesTheo de Raadt