summaryrefslogtreecommitdiff
path: root/usr.bin/tip/value.c
AgeCommit message (Expand)Author
2010-08-23Clear options before setting up HOME and SHELL, not after. Fixes parsingNicholas Marriott
2010-07-11remove unused variable and unused static prototype.Charles Longeau
2010-07-02Rewrite how printing all variables works to avoid using a global variableNicholas Marriott
2010-07-02Clear table and set defaults manually, also move table into value.c.Nicholas Marriott
2010-07-02Merge vassign and vtoken and make it much more strict on what it accepts.Nicholas Marriott
2010-07-02Bye-bye vstring, and add value type checking code to vgetstr/vsetstr/etc.Nicholas Marriott
2010-07-01Nix some warnings.Nicholas Marriott
2010-07-01Split v_value into v_string/v_number, change macros to functions and lo letNicholas Marriott
2010-07-01Change variable get/set macros to have better names and drop boolean/characterNicholas Marriott
2010-07-01remove unused variablesCharles Longeau
2010-06-30Only two variables - HOME and SHELL - are from the environment, so just fillNicholas Marriott
2010-06-29For every variable which has a value table entry with IREMOTE, remove theNicholas Marriott
2010-06-29Merge v_type and v_access into one v_flags member in value_t, get rid of TRUENicholas Marriott
2010-06-29tip is no longer setuid or setgid so get rid of the complicatedNicholas Marriott
2010-06-29Replace "nice" strcmp() wrapper macro with strcmp.Nicholas Marriott
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2007-05-15Remove useless NOxxx defines and use NULL instead.Moritz Jodeit
2007-02-20Remove wrong length check, which is off-by-one, andMoritz Jodeit
2007-02-20Change hard coded numbers to sizeof(buf). Also change someRay Lai
2006-03-17more delinting.Moritz Jodeit
2006-03-17big prototype cleanup:Moritz Jodeit
2006-03-16Fix bug that was uncovered by adding correct prototypes andMoritz Jodeit
2006-03-16first pass of cleanup of this mess; ok dhillTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-05-27unsigned vs unsigned intTheo de Raadt
2002-05-07Carefully applied -Wall fixups from <panda@omatis.com>.Hugh Graham
2001-10-24kill registerTodd C. Miller
1999-02-04remove strcpy, even if safeTheo de Raadt
1997-09-01Wall pass, and oflow fix from eivind@bitbox.follo.netTheo de Raadt
1997-04-02Merge in good changes from NetBSD:Todd C. Miller
1996-10-15Possible buf oflow + index -> strchr.Todd C. Miller
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt