Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Carefully add casts to silence clang sign-compare warnings. ok millert@ | 2017-09-16 | 1 | -5/+5 | |
| | |||||
* | there is no offical way to get the max value of time_t, but this one works | 2017-09-12 | 1 | -2/+2 | |
| | | | | | on any sensible posix system (in which time_t must be an integer type) ok deraadt@ millert@ | ||||
* | intvar < sizeof(...) does not catch negative values since an int -> unsigned | 2017-09-06 | 1 | -5/+5 | |
| | | | | | conversion is involved. Cast the sizeof to int to get a signed compare; ok deraadt@ bluhm@ | ||||
* | Don't need <sys/time.h> or "options.h" here | 2016-08-26 | 1 | -2/+1 | |
| | |||||
* | Remove many unnecessary casts. Verified by comparing generated code on | 2016-08-14 | 1 | -73/+52 | |
| | | | | | | both ILP32 and LP64. ok millert@ | ||||
* | Replace u_quad_t with unsigned long long and replace "uqd" with "ull" in | 2016-08-14 | 1 | -8/+8 | |
| | | | | | | | function names to match. Pull some tangled assignments out of conditions and use >>= where possible. ok millert@ | ||||
* | Use struct timespec internally. This gives nanosecond precision to pax -rw | 2015-03-19 | 1 | -4/+7 | |
| | | | | | | | and a basis for support of mtime and atime values in pax-format extended header records. ok millert@ | ||||
* | Add PAX_IS_{REG,HARDLINK,LINK} macros to simply many file type tests | 2015-03-17 | 1 | -7/+4 | |
| | | | | ok millert@ | ||||
* | Map negative mtimes to zero instead of skipping the affected files. | 2014-02-19 | 1 | -13/+18 | |
| | | | | | problem noted by miod@ ok krw@ millert@ | ||||
* | Replace strtoq(), QUAD_MAX, and %qu with their long long equivalent | 2014-01-08 | 1 | -2/+2 | |
| | |||||
* | Eliminate poisonous LONG_OFF_T conditional | 2014-01-08 | 1 | -26/+1 | |
| | | | | adjective suggested by deraadt@ | ||||
* | cpio and ustar formats store times in octal fields that are 11 characters | 2013-07-03 | 1 | -4/+9 | |
| | | | | | | | | wide, so they support up to 33bits. Take advantage of the extra bits by no longer forcing them into 32bit ints before the time_t conversion. This gets us another 204 years of range once time_t changes type ok deraadt@ tedu@ | ||||
* | Fix typo. From Caspar Schutijser via tech@. | 2013-05-25 | 1 | -2/+2 | |
| | |||||
* | remove some unnecessary sys/param.h inclusions | 2012-12-04 | 1 | -2/+1 | |
| | |||||
* | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | 2009-10-27 | 1 | -9/+1 | |
| | | | | | | | 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 | ||||
* | Typo in comment about cpio_endwr() fixed. | 2008-01-01 | 1 | -3/+3 | |
| | | | | OK otto@ | ||||
* | spacing | 2004-04-16 | 1 | -6/+6 | |
| | |||||
* | protos. this requires changing the api for the *trail() functions a bit | 2003-06-26 | 1 | -3/+3 | |
| | |||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-02 | 1 | -7/+3 | |
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | ||||
* | typos; | 2003-02-03 | 1 | -3/+3 | |
| | | | | | from netbsd(svs+pr@grep.ru) suggested by deraadt@ | ||||
* | sprinkle const; mostly from NetBSD | 2002-10-16 | 1 | -3/+3 | |
| | |||||
* | Fix comment typos; most from NetBSD and FreeBSD | 2002-10-16 | 1 | -6/+6 | |
| | |||||
* | kill register | 2002-10-16 | 1 | -26/+26 | |
| | |||||
* | strlcpy fix, PR 2727 | 2002-06-09 | 1 | -3/+3 | |
| | |||||
* | We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft. | 2002-02-19 | 1 | -134/+2 | |
| | |||||
* | 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 | -5/+5 | |
| | |||||
* | Get rid of NET2_FTS and NET2_REGEX #ifdefs since they are useless. | 2001-05-26 | 1 | -7/+7 | |
| | | | | | Change NET2_STAT into LONG_OFF_T for portability to systems with a 32bit off_t. | ||||
* | use proper str*cpy functions instead of home grown one, spaces; millert@ ok | 2001-05-16 | 1 | -12/+12 | |
| | |||||
* | #if __STDC__ --> #ifdef __STDC__ | 1997-07-25 | 1 | -24/+24 | |
| | |||||
* | tabify | 1997-07-23 | 1 | -3/+3 | |
| | |||||
* | update rcsid | 1996-06-23 | 1 | -1/+2 | |
| | |||||
* | Correct compile warnings | 1996-06-11 | 1 | -19/+18 | |
| | | | | | | Rename warn() to paxwarn() so <err.h> can be included Remove #include <ctype.h> when not needed; from FreeBSD | ||||
* | initial import of NetBSD tree | 1995-10-18 | 1 | -0/+1284 | |