summaryrefslogtreecommitdiff
path: root/bin/pax
AgeCommit message (Expand)Author
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failureTheo de Raadt
2015-03-22rev 1.44 accidentally changed ar_close() to give cpio the same output as pax.Philip 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-15Define chdname once in a .c and make it extern in the .hPhilip Guenther
2015-03-15Handle tar -o by setting the tar_nodir directly instead of faking up aPhilip Guenther
2015-03-15Using O_TRUNC with O_CREAT|O_EXCL is just confusing: fail if it exists,Philip Guenther
2015-03-15pax -o only accepts 'write_opt=nodir' and not bare 'nodir'Philip Guenther
2015-03-15tzfile.h is an internal header that should never have been installed.Todd C. Miller
2015-03-12If an archive isn't a recognized type, then check whether it looksPhilip Guenther
2015-03-09Fix comment grammarPhilip 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-12For tar without -P, if a path in the archive has any ".." components thenPhilip 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
2015-01-29Correct buffer overflow in handling of pax extension headers, caughtPhilip Guenther
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2015-01-15remove .Tn; from Jan Stary <hans at stare dot cz>Ingo Schwarze
2014-12-13Sort members by size to reduce structure paddingPhilip Guenther
2014-11-23Don't pull in <tzfile.h> just for a number that's hardcoded in the C standardPhilip Guenther
2014-11-23Use PATH_MAX from <limits.h> instead of MAXPATHLEN from <sys/param.h>Philip Guenther
2014-11-23Don't leak the fds for "." and the tty to the compression processPhilip Guenther
2014-09-08obvious cases of missing .An;Ingo Schwarze
2014-07-14Constipate st_hash()Philip Guenther
2014-07-14Oops: resurrect cached file that wasn't ripe for deletionPhilip Guenther
2014-07-14Delete pointless 'return;' at end of functionPhilip Guenther
2014-07-11clarify a comment about readlink. from Doug HoganTed Unangst
2014-06-04undo my "no TZ support" notes; guenther says they're wrongJason McIntyre
2014-05-24Delete pointless casts: free() return value to (void), free()'sPhilip Guenther
2014-05-24Missed #include <signal.h>Philip Guenther
2014-05-24Make signal setup clearer via helper function, eliminating a gap inPhilip Guenther
2014-05-23Archives written with a non-standard blocksize currently show up asPhilip Guenther
2014-05-23Make the signal handler safe: block signals when updating data-structuresPhilip Guenther
2014-05-21Exit with non-zero status if a read is truncated, or if a compressionPhilip Guenther
2014-05-07use reallocarray. ok guentherTed Unangst
2014-04-18tweak;Jason McIntyre
2014-04-15note some unsupported features, and clean up some macros - in particular,Jason McIntyre
2014-04-15flesh out STANDARDS; ok millert sobradoJason McIntyre
2014-02-19Map negative mtimes to zero instead of skipping the affected files.Philip Guenther
2014-02-13Don't use use .Tn with AND/OR/NOTPhilip Guenther
2014-02-06Oops, pax -x and cpio -H need to set frmtPhilip Guenther
2014-02-05make pax cope with a stripped down format list, e.g. when compiledAlexander Hall
2014-01-30abstraction for the sake of abstraction is distracting.Marc Espie
2014-01-19Forget to remove the prototype for set_lids() after removing the definitionPhilip Guenther
2014-01-14No exception is made for symlinks in the spec, so usePhilip Guenther