| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix overflows while handling 64 bit integers. | 2018-03-31 | 1 | -47/+52 | |
| | | | | | | | Based on FreeBSD's expr and NetBSD's old regression test suite. with input by and ok schwarze | ||||
| * | Delete useless setlocale(3) in src/bin/. | 2016-10-19 | 1 | -23/+9 | |
| | | | | | | | Minor cleanup while here: return from main, static void __dead usage, etc. Based on a patch from Jan Stary <hans at stare dot cz>. Feedback and OK tb@, OK millert@. | ||||
| * | need to increase INT_MAX to 64 bits too. from Nathan Holstein | 2016-01-07 | 1 | -3/+4 | |
| | | |||||
| * | use int64_t for arithmetic. 64 bits ought to be enough for anyone. | 2016-01-06 | 1 | -12/+12 | |
| | | | | | ok deraadt millert schwarze | ||||
| * | fix exit status on pledge(2) failure. | 2015-12-29 | 1 | -2/+2 | |
| | | | | | OK tb@ jsg@ | ||||
| * | Change all tame callers to namechange to pledge(2). | 2015-10-09 | 1 | -3/+3 | |
| | | |||||
| * | expr can use tame "stdio" | 2015-10-04 | 1 | -1/+5 | |
| | | | | | ok semarie | ||||
| * | avoid casts of malloc() if stdlib.h is present | 2015-08-11 | 1 | -3/+3 | |
| | | |||||
| * | add unsigned char casts for specific calls to ctype.h macros. | 2013-11-21 | 1 | -2/+2 | |
| | | | | | ok guenther step | ||||
| * | Don't die with SIGFPE on INT_MIN / -1 or % -1. Instead make INT_MIN / | 2013-03-28 | 1 | -3/+8 | |
| | | | | | | | -1 == INT_MIN and % -1 == 0. ok matthew deraadt | ||||
| * | handle -- as POSIX requires; from kili@outback.escape.de; ok otto | 2006-06-21 | 1 | -1/+5 | |
| | | |||||
| * | use asprintf instead; dhill@mindcry.org | 2005-11-12 | 1 | -7/+3 | |
| | | |||||
| * | ansification, art ok | 2003-06-11 | 1 | -2/+2 | |
| | | |||||
| * | add prototypes; ok millert@ w/ 'static', 'no static', deraadt@ | 2003-05-14 | 1 | -2/+17 | |
| | | |||||
| * | use a variable | 2003-04-15 | 1 | -3/+5 | |
| | | |||||
| * | ansi | 2002-07-04 | 1 | -29/+17 | |
| | | |||||
| * | knf | 2002-06-09 | 1 | -3/+3 | |
| | | |||||
| * | Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | 2002-02-16 | 1 | -2/+2 | |
| | | |||||
| * | let "expr a : /" work. Mark the next token after the match operator as a | 1997-11-13 | 1 | -14/+17 | |
| | | | | | | pattern, causing the lexical analyzer to short-circuit around operator parsing. my fix to netbsd pr#4187, augustss@cs.chalmers.se | ||||
| * | i am bored enough to fix terminal space/tab uglies | 1997-09-01 | 1 | -2/+2 | |
| | | |||||
| * | POSIX 1003.2: exit code is 3 if memory allocation fails, 2 if expr invalid. | 1997-08-19 | 1 | -4/+4 | |
| | | |||||
| * | tabify | 1997-07-23 | 1 | -20/+20 | |
| | | |||||
| * | -Wall'ing. | 1996-12-14 | 1 | -3/+7 | |
| | | |||||
| * | sprintf -> snprintf paranoia | 1996-09-15 | 1 | -2/+2 | |
| | | |||||
| * | update rcsid | 1996-06-23 | 1 | -0/+1 | |
| | | |||||
| * | handle locale being incorrect | 1996-06-10 | 1 | -5/+2 | |
| | | |||||
| * | initial import of NetBSD tree | 1995-10-18 | 1 | -0/+507 | |
