Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move a premature optimization so that -s with offsets works. | 2021-01-09 | 1 | -4/+4 | |
| | | | | ok florian@ tb@ | ||||
* | Stricter checking for skip1 and skip2. | 2018-03-05 | 1 | -3/+23 | |
| | | | | | | | | As we do elsewhere in the tree, make sure we (a) got a number at all, (b) that it doesn't have non-digits dangling off the end, (c) that it's positive, and (d) that it didn't overflow. ok tb@ | ||||
* | Add fatal() and fatalx() and put them to use. | 2018-03-05 | 4 | -39/+49 | |
| | | | | | | | | | | | ... but don't use them for pledge errors or usage errors. They are convenience wrappers that check if sflag is set before logging an error. They always exit with status 2. We were not honoring sflag in special.c at all. Now we do. ok tb@ | ||||
* | Delete some useless setlocale(3) calls in /usr/bin, no functional change. | 2016-10-28 | 1 | -12/+8 | |
| | | | | | | | | Patches from Jan Stary <hans at stare dot cz>, tweaked by me and tb@. While here, apply some simple style improvements: Sort headers, static void __dead usage(), return from main(), zap case '?', drop /* NOTREACHED */, drop break after usage(), ... OK tb@ millert@ | ||||
* | Convert remaining calls to strtoq/strtouq in base with strtoll/strtoull. | 2016-08-14 | 1 | -3/+3 | |
| | | | | | | | Fix a type mismatch in ftp's "page" command and could make transfers restart at the wrong position. ok and a ull->ll tweak from natano@, ok tedu@ | ||||
* | fix exit status on pledge(2) failure. | 2015-12-29 | 1 | -3/+3 | |
| | | | | OK tb@ jsg@ | ||||
* | Add pledge support to cmp(1). | 2015-10-10 | 1 | -1/+7 | |
| | | | | | | | This is a simple case of using "stdio rpath" until all files are opened and then dropping down to "stdio" since it includes "rw" on open fds. ok deraadt@ | ||||
* | SIZE_MAX is standard, we should be using it in preference to the | 2015-02-06 | 1 | -3/+3 | |
| | | | | obsolete SIZE_T_MAX. OK miod@ beck@ | ||||
* | Replace <sys/param.h> with <limits.h> and other less dirty headers where | 2015-01-16 | 1 | -3/+4 | |
| | | | | | | | | | possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | ||||
* | provide a mnemonic for -s; | 2014-01-25 | 1 | -1/+2 | |
| | |||||
* | let EXIT STATUS breathe; | 2014-01-25 | 1 | -3/+3 | |
| | |||||
* | ansify; ok millert@ | 2011-01-19 | 3 | -16/+8 | |
| | |||||
* | add an EXIT STATUS section for /usr/bin; | 2010-09-03 | 1 | -4/+4 | |
| | |||||
* | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | 2009-10-27 | 4 | -42/+4 | |
| | | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | ||||
* | bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few | 2009-02-08 | 1 | -3/+3 | |
| | | | | updates to follow; | ||||
* | convert to new .Dd format; | 2007-05-31 | 1 | -2/+2 | |
| | |||||
* | - use a consistent text for STANDARDS | 2007-05-30 | 1 | -4/+10 | |
| | | | | - note which options are extensions to POSIX | ||||
* | g/c OK_EXIT, it was never used. From Mark Lumsden. | 2007-02-23 | 1 | -2/+1 | |
| | |||||
* | .Xr cmp and sdiff each other | 2006-12-20 | 1 | -2/+3 | |
| | | | | ok jmc@ ray@ | ||||
* | mark mmap()ed memory as sequentially accessed | 2003-11-21 | 1 | -2/+6 | |
| | |||||
* | mostly ansi cleanup; pval ok | 2003-06-10 | 1 | -10/+6 | |
| | |||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-03 | 6 | -40/+16 | |
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | ||||
* | 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 | 2 | -8/+8 | |
| | |||||
* | first pass at a -Wall cleanup | 2001-07-12 | 3 | -10/+12 | |
| | |||||
* | Change all option list specifications to ".Bl -tag -width Ds". Most man | 2000-11-09 | 1 | -2/+2 | |
| | | | | | pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything. | ||||
* | nice going, this did not even compile | 2000-10-12 | 1 | -5/+5 | |
| | |||||
* | Fix cmp(1). It causes memory shortage for bigger files. | 2000-10-12 | 1 | -8/+13 | |
| | | | | OK art@ | ||||
* | Various improvements, including a few HISTORY sections added from FreeBSD. | 2000-03-05 | 1 | -3/+13 | |
| | |||||
* | Finish standardizing options list introduction. | 2000-03-05 | 1 | -2/+2 | |
| | |||||
* | use particular mapping type instead of bogus zero. | 1999-08-03 | 3 | -18/+24 | |
| | | | | -Wall overall happiness; millert@ ok | ||||
* | correct use of .Nm; some other formatting nits | 1999-07-04 | 1 | -5/+5 | |
| | |||||
* | - remove trailing white space | 1999-06-05 | 1 | -2/+2 | |
| | | | | | | | - remove arguments from .Os macros - remove arguments from .Nm macros, where appropriate - some more Dq/Sq/Ql insanity - still lots to do in the usr.bin tree... :/ | ||||
* | usr.bin/ man page repairs, a - e | 1998-09-23 | 1 | -3/+5 | |
| | |||||
* | stderr, not stdout | 1998-05-26 | 1 | -2/+2 | |
| | |||||
* | error | 1998-01-21 | 1 | -3/+3 | |
| | |||||
* | $OpenBSD$ | 1997-09-21 | 1 | -2/+1 | |
| | |||||
* | allow hex/octal offsets; metcalf@snet.net | 1997-06-12 | 1 | -4/+4 | |
| | |||||
* | getopt(3) returns -1 when out of args, not EOF, whee! | 1997-01-15 | 1 | -3/+3 | |
| | |||||
* | whoops, goofed on the last one, this should be correct. | 1996-08-01 | 1 | -7/+19 | |
| | |||||
* | Modified cmp to, when given arg -s, really be silent. (reported by | 1996-08-01 | 1 | -5/+9 | |
| | | | | | | | | marc@mit.edu, netbsd pr #2642.) Changed main() to use return() rather than exit(). (just tried checking it in, but local cvs got killed while writting log message) | ||||
* | rcsid | 1996-06-26 | 7 | -5/+11 | |
| | |||||
* | initial import of NetBSD tree | 1995-10-18 | 7 | -0/+594 | |