summaryrefslogtreecommitdiffstats
path: root/bin/pax/tables.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* mkstemp() returns -1 on failurederaadt2019-06-281-2/+2
* Carefully add casts to silence clang sign-compare warnings. ok millert@otto2017-09-161-2/+2
* there is no offical way to get the max value of time_t, but this one worksotto2017-09-121-2/+2
* buffer increase factor belongs in the nmemb field of reallocarray()deraadt2017-03-161-2/+2
* Put some variable declarations under appropriate #if/#endif protectionkrw2016-12-261-1/+3
* tables.h is only used by tables.c; merge it into the .c fileguenther2016-08-261-5/+132
* Remove many unnecessary casts. Verified by comparing generated code onguenther2016-08-141-2/+2
* Use struct timespec internally. This gives nanosecond precision to pax -rwguenther2015-03-191-10/+11
* Add PAX_IS_{REG,HARDLINK,LINK} macros to simply many file type testsguenther2015-03-171-2/+2
* Unrevert post-unlock:guenther2015-03-091-33/+405
* Recent changes haven't been completely stable, so revert for the 5.7 releaseguenther2015-02-211-405/+33
* Fix two bugs. The first affected tar files with the samemillert2015-02-151-5/+55
* Prevent an archive from esacaping the current directory by itself:guenther2015-02-121-1/+326
* Put the dev+ino table for cpio hardlink matching behind #ifndef NOCPIOguenther2015-02-121-3/+5
* Take II, this time without an incorrect mode test.guenther2015-02-111-30/+25
* backout previous for now; issues seen with "tar: Directory vanished beforesthen2015-02-051-25/+30
* For directories whose times or mode will be fixed up in the clean-up pass,guenther2015-02-051-30/+25
* Use PATH_MAX from <limits.h> instead of MAXPATHLEN from <sys/param.h>guenther2014-11-231-4/+3
* Constipate st_hash()guenther2014-07-141-4/+4
* Delete pointless 'return;' at end of functionguenther2014-07-141-4/+1
* Delete pointless casts: free() return value to (void), free()'sguenther2014-05-241-27/+27
* Missed #include <signal.h>guenther2014-05-241-1/+2
* Make the signal handler safe: block signals when updating data-structuresguenther2014-05-231-7/+24
* use reallocarray. ok guenthertedu2014-05-071-2/+2
* Zap leading whitespacederaadt2014-01-081-6/+6
* Zap trailing whitespaceguenther2014-01-081-2/+2
* Use size_t where appropriateguenther2014-01-081-4/+4
* remove some unnecessary sys/param.h inclusionsderaadt2012-12-041-2/+2
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-9/+1
* use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgderaadt2007-09-021-3/+3
* Fix extracting and setting permissions for tar archives whenotto2006-11-171-3/+11
* fix strlcpy abuse in pax - this commit turns potential overflows intobeck2005-04-211-2/+7
* Build the table of created directories in-memory, instead of usingotto2004-11-291-69/+45
* more errx/warnx style \n errors; tom.cosgrove@arches-consulting.comderaadt2003-08-161-3/+3
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-7/+3
* typos;jmc2003-02-031-12/+12
* sprinkle const; mostly from NetBSDmillert2002-10-161-3/+3
* Fix comment typos; most from NetBSD and FreeBSDmillert2002-10-161-4/+4
* kill registermillert2002-10-161-43/+43
* We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.millert2002-02-191-138/+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.millert2002-02-161-3/+3
* use proper str*cpy functions instead of home grown one, spaces; millert@ okmickey2001-05-161-7/+5
* Honor TMPDIR environment variable and document the fact.millert2001-02-071-23/+12
* always check return value of strdup()aaron1999-04-291-4/+11
* use 10 X in mkstemp string for improved speed at race winningderaadt1998-07-031-4/+4
* i am bored enough to fix terminal space/tab ugliesderaadt1997-09-011-15/+15
* #if __STDC__ --> #ifdef __STDC__mickey1997-07-251-23/+23
* tabifykstailey1997-07-231-18/+18
* Fix usage of l_strncpy() (noticed by Theo) and make l_strncpy()millert1997-06-041-9/+10
* Use mkstemp(3) for temporary filestholo1996-12-241-13/+12