summaryrefslogtreecommitdiff
path: root/bin/expr/expr.c
AgeCommit message (Expand)Author
2016-01-07need to increase INT_MAX to 64 bits too. from Nathan HolsteinTed Unangst
2016-01-06use int64_t for arithmetic. 64 bits ought to be enough for anyone.Ted Unangst
2015-12-29fix exit status on pledge(2) failure.Gleydson Soares
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-04expr can use tame "stdio"Theo de Raadt
2015-08-11avoid casts of malloc() if stdlib.h is presentTheo de Raadt
2013-11-21add unsigned char casts for specific calls to ctype.h macros.Theo de Raadt
2013-03-28Don't die with SIGFPE on INT_MIN / -1 or % -1. Instead make INT_MIN /Nicholas Marriott
2006-06-21handle -- as POSIX requires; from kili@outback.escape.de; ok ottoTheo de Raadt
2005-11-12use asprintf instead; dhill@mindcry.orgTheo de Raadt
2003-06-11ansification, art okTheo de Raadt
2003-05-14add prototypes; ok millert@ w/ 'static', 'no static', deraadt@Jason Peel
2003-04-15use a variableTheo de Raadt
2002-07-04ansiTheo de Raadt
2002-06-09knfTodd T. Fries
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
1997-11-13let "expr a : /" work. Mark the next token after the match operator as aTheo de Raadt
1997-09-01i am bored enough to fix terminal space/tab ugliesTheo de Raadt
1997-08-19POSIX 1003.2: exit code is 3 if memory allocation fails, 2 if expr invalid.denny
1997-07-23tabifykstailey
1996-12-14-Wall'ing.Michael Shalayeff
1996-09-15sprintf -> snprintf paranoiaTodd C. Miller
1996-06-23update rcsidTheo de Raadt
1996-06-10handle locale being incorrectTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt