summaryrefslogtreecommitdiff
path: root/bin/ksh/var.c
AgeCommit message (Expand)Author
2018-03-15Favor usage of __func__ in warning/error messages. Some of them referred to theanton
2018-01-16Introduce internal_warningf() and mark internal_errorf() as noreturnJeremie Courreges-Anglas
2018-01-15Stop pretending we support building ksh without EDIT/HISTORY supportJeremie Courreges-Anglas
2018-01-06Bring back the sign compare changes, this time with a fix from otto@Todd C. Miller
2018-01-04Back out sign compare changes that appear to cause problems on hppa.Todd C. Miller
2018-01-01Add WARNINGS=yes to ksh and fix the resulting sign compare warnings.Todd C. Miller
2017-12-27Add -Wshadow to Makefile and fix the resulting warnings. Many ofTodd C. Miller
2017-08-30Implement HISTCONTROL ignoredups & ignorespace featuresJeremie Courreges-Anglas
2017-08-30No need for NULL checks before afree()Jeremie Courreges-Anglas
2016-09-08Add KSH_IGNORE_RDONLY flag and use it in var.c instead of the 0x4Todd C. Miller
2016-09-08Allow "typeset -ir FOO" if FOO is not already marked read-only. OK tb@Todd C. Miller
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