summaryrefslogtreecommitdiff
path: root/bin/pax/cpio.c
AgeCommit message (Expand)Author
2017-09-16Carefully add casts to silence clang sign-compare warnings. ok millert@Otto Moerbeek
2017-09-12there is no offical way to get the max value of time_t, but this one worksOtto Moerbeek
2017-09-06intvar < sizeof(...) does not catch negative values since an int -> unsignedOtto Moerbeek
2016-08-26Don't need <sys/time.h> or "options.h" herePhilip Guenther
2016-08-14Remove many unnecessary casts. Verified by comparing generated code onPhilip Guenther
2016-08-14Replace u_quad_t with unsigned long long and replace "uqd" with "ull" inPhilip Guenther
2015-03-19Use struct timespec internally. This gives nanosecond precision to pax -rwPhilip Guenther
2015-03-17Add PAX_IS_{REG,HARDLINK,LINK} macros to simply many file type testsPhilip Guenther
2014-02-19Map negative mtimes to zero instead of skipping the affected files.Philip Guenther
2014-01-08Replace strtoq(), QUAD_MAX, and %qu with their long long equivalentPhilip Guenther
2014-01-08Eliminate poisonous LONG_OFF_T conditionalPhilip Guenther
2013-07-03cpio and ustar formats store times in octal fields that are 11 charactersPhilip Guenther
2013-05-25Fix typo. From Caspar Schutijser via tech@.lum
2012-12-04remove some unnecessary sys/param.h inclusionsTheo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2008-01-01Typo in comment about cpio_endwr() fixed.Tobias Stoeckmann
2004-04-16spacingTheo de Raadt
2003-06-26protos. this requires changing the api for the *trail() functions a bitTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-02-03typos;Jason McIntyre
2002-10-16sprinkle const; mostly from NetBSDTodd C. Miller
2002-10-16Fix comment typos; most from NetBSD and FreeBSDTodd C. Miller
2002-10-16kill registerTodd C. Miller
2002-06-09strlcpy fix, PR 2727Jun-ichiro itojun Hagino
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-05-26Get rid of NET2_FTS and NET2_REGEX #ifdefs since they are useless.Todd C. Miller
2001-05-16use proper str*cpy functions instead of home grown one, spaces; millert@ okMichael Shalayeff
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-07-23tabifykstailey
1996-06-23update rcsidTheo de Raadt
1996-06-11Correct compile warningsThorsten Lockert
1995-10-18initial import of NetBSD treeTheo de Raadt