summaryrefslogtreecommitdiff
path: root/bin/ksh/var.c
AgeCommit message (Expand)Author
2023-07-23avoid MAIL* environment variables to save a few bytes in install mediaKlemens Nanni
2021-03-05Fix old ksh bug: wrong variable being looked up when value is provided.Vadim Zhukov
2020-02-21Enforce that TMOUT is an integer literal to prevent command execution fromTheo Buehler
2018-06-18Use shl_out->fd instead of STDOUT_FILENO in the call the setupterm().Todd C. Miller
2018-06-18Add clear-screen emacs editing command, currently not bound to aTodd C. Miller
2018-04-13Count $SECONDS with CLOCK_MONOTONIC.cheloha
2018-04-09Support 64 bit integers on 32 bit architectures.Tobias Stoeckmann
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