summaryrefslogtreecommitdiff
path: root/bin/pax/tables.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-03-16buffer increase factor belongs in the nmemb field of reallocarray()Theo de Raadt
2016-12-26Put some variable declarations under appropriate #if/#endif protectionKenneth R Westerback
2016-08-26tables.h is only used by tables.c; merge it into the .c filePhilip Guenther
2016-08-14Remove many unnecessary casts. Verified by comparing generated code onPhilip 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
2015-03-09Unrevert post-unlock:Philip Guenther
2015-02-21Recent changes haven't been completely stable, so revert for the 5.7 releasePhilip Guenther
2015-02-15Fix two bugs. The first affected tar files with the sameTodd C. Miller
2015-02-12Prevent an archive from esacaping the current directory by itself:Philip Guenther
2015-02-12Put the dev+ino table for cpio hardlink matching behind #ifndef NOCPIOPhilip Guenther
2015-02-11Take II, this time without an incorrect mode test.Philip Guenther
2015-02-05backout previous for now; issues seen with "tar: Directory vanished beforeStuart Henderson
2015-02-05For directories whose times or mode will be fixed up in the clean-up pass,Philip Guenther
2014-11-23Use PATH_MAX from <limits.h> instead of MAXPATHLEN from <sys/param.h>Philip Guenther
2014-07-14Constipate st_hash()Philip Guenther
2014-07-14Delete pointless 'return;' at end of functionPhilip Guenther
2014-05-24Delete pointless casts: free() return value to (void), free()'sPhilip Guenther
2014-05-24Missed #include <signal.h>Philip Guenther
2014-05-23Make the signal handler safe: block signals when updating data-structuresPhilip Guenther
2014-05-07use reallocarray. ok guentherTed Unangst
2014-01-08Zap leading whitespaceTheo de Raadt
2014-01-08Zap trailing whitespacePhilip Guenther
2014-01-08Use size_t where appropriatePhilip Guenther
2012-12-04remove some unnecessary sys/param.h inclusionsTheo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2006-11-17Fix extracting and setting permissions for tar archives whenOtto Moerbeek
2005-04-21fix strlcpy abuse in pax - this commit turns potential overflows intoBob Beck
2004-11-29Build the table of created directories in-memory, instead of usingOtto Moerbeek
2003-08-16more errx/warnx style \n errors; tom.cosgrove@arches-consulting.comTheo 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-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-16use proper str*cpy functions instead of home grown one, spaces; millert@ okMichael Shalayeff
2001-02-07Honor TMPDIR environment variable and document the fact.Todd C. Miller
1999-04-29always check return value of strdup()Aaron Campbell
1998-07-03use 10 X in mkstemp string for improved speed at race winningTheo de Raadt
1997-09-01i am bored enough to fix terminal space/tab ugliesTheo de Raadt
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-07-23tabifykstailey
1997-06-04Fix usage of l_strncpy() (noticed by Theo) and make l_strncpy()Todd C. Miller
1996-12-24Use mkstemp(3) for temporary filesThorsten Lockert
1996-08-27Fix uses of strncpyThorsten Lockert