summaryrefslogtreecommitdiff
path: root/bin/pax
AgeCommit message (Expand)Author
2023-07-10Don't open files that will be skippedJeremy Evans
2023-07-05It isn't portable to use stderr (or std{in,out}) in file-scopePhilip Guenther
2023-06-26pax: truncate times to MAX_TIME_T, not INT_MAXTodd C. Miller
2023-06-26pax: use safe_print() to display messages which may include file names.Todd C. Miller
2023-06-26fix grammar of the comment describing pat_chk(); ok millert@Omar Polo
2023-01-17pax: Switch a function definition from K&R to ANSI.Theo Buehler
2022-12-04userspace: remove vestigial '?' cases from top-level getopt(3) loopsScott Soule Cheloha
2022-03-31man pages: add missing commas between subordinate and main clausesChristian Weisgerber
2022-03-01Support mtime/atime/ctime extended headers in !SMALL builds.Stuart Henderson
2022-01-28When it's the possessive of 'it', it's spelled "its", without thePhilip Guenther
2021-10-24For open/openat, if the flags parameter does not contain O_CREAT, theTheo de Raadt
2021-06-1432-bit systems incorrectly parse the (64-bit) length of ustar extendedTheo de Raadt
2020-10-05-f - can respresent both stdin and stdout; rework the text a littleJason McIntyre
2020-03-23in case we can't create intermediate directories because of permissions,Marc Espie
2020-01-16Usually, -width Fl (which is 10n) is too wide and hence ugly.Ingo Schwarze
2019-11-15In cpio mode, when processing the -o switch, only set the archive formatChristian Weisgerber
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-28mkstemp() returns -1 on failureTheo de Raadt
2019-06-24uid_from_user() and gid_from_user() return -1 when indicating error,Theo de Raadt
2018-09-13Use the new libc uid_from_user() and gid_from_group() instead ofTodd C. Miller
2018-07-23Point to glob in section 7 for the actual list of special characters insteadkn
2017-12-08Convert snprintf+write into dprintf. It is simply easier to read, andTheo de Raadt
2017-10-09Better document what the -v flag actually does and that you canTodd C. Miller
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-10Backslash escapes the next character in filename patterns.Philip Guenther
2017-09-08Avoid clang warning and make code better by using a signed long;Otto Moerbeek
2017-09-06intvar < sizeof(...) does not catch negative values since an int -> unsignedOtto Moerbeek
2017-03-16buffer increase factor belongs in the nmemb field of reallocarray()Theo de Raadt
2017-03-11switch pax to using pledge tape instead of ioctl.Theo Buehler
2017-01-23Slow down the churn and continue using old pledge name "ioctl" insteadTheo de Raadt
2017-01-23Split pledge "ioctl" into "tape" and "bpf", and allow SIOCGIFGROUP onlyTheo de Raadt
2017-01-21Nuke whitespace foolish enough to expose itself during the greatKenneth R Westerback
2016-12-26Put some variable declarations under appropriate #if/#endif protectionKenneth R Westerback
2016-12-20Fix a bug where archives smaller than 512 bytes would trigger a next volumeMark Kettenis
2016-08-26Need <time.h> for time() and others. Pulled in by coincidence previouslyPhilip Guenther
2016-08-26-E NONE has *never* worked; it was always -E none. It's a dubious optionPhilip Guenther
2016-08-26options.h is only used by options.c; merge it into the .c filePhilip Guenther
2016-08-26reduce and sort #includesPhilip Guenther
2016-08-26tables.h is only used by tables.c; merge it into the .c filePhilip Guenther
2016-08-26<sys/time.h>, <errno.h>, and <stdlib.h> are unnecessary; sort #includesPhilip Guenther
2016-08-26sel_subs.h is only used by sel_subs.c; merge it into the .c filePhilip Guenther
2016-08-26pat_rep.h is only used by pat_rep.c; merge it into the .c filePhilip Guenther
2016-08-26ftree.h is only used by ftree.c; merge it into the .c filePhilip Guenther
2016-08-26Don't need <sys/time.h> or "options.h" herePhilip Guenther
2016-08-26cache.h is only used by cache.c; merge it into the .c filePhilip Guenther
2016-08-25Replace name_{uid,gid}() with the libc routines user_from_uid() andPhilip Guenther
2016-08-24Make list-like output go to stderr when appending to an archive on stdout.Philip Guenther
2016-08-24Treat cpio's -t option as a modifier to -i, so they're ordering independentPhilip Guenther
2016-08-23Instead of doing strcmp(argv0), track the invocation mode (pax/tar/cpio)Philip Guenther