summaryrefslogtreecommitdiffstats
path: root/bin/pax
AgeCommit message (Expand)AuthorFilesLines
2020-10-05-f - can respresent both stdin and stdout; rework the text a littlejmc1-7/+8
2020-03-23in case we can't create intermediate directories because of permissions,espie2-7/+9
2020-01-16Usually, -width Fl (which is 10n) is too wide and hence ugly.schwarze3-9/+9
2019-11-15In cpio mode, when processing the -o switch, only set the archive formatnaddy1-2/+3
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt6-62/+62
2019-06-28mkstemp() returns -1 on failurederaadt1-2/+2
2019-06-24uid_from_user() and gid_from_user() return -1 when indicating error,deraadt2-6/+6
2018-09-13Use the new libc uid_from_user() and gid_from_group() instead ofmillert7-312/+25
2018-07-23Point to glob in section 7 for the actual list of special characters insteadkn2-8/+8
2017-12-08Convert snprintf+write into dprintf. It is simply easier to read, andderaadt1-8/+3
2017-10-09Better document what the -v flag actually does and that you canmillert1-2/+11
2017-09-16Carefully add casts to silence clang sign-compare warnings. ok millert@otto5-15/+16
2017-09-12there is no offical way to get the max value of time_t, but this one worksotto5-10/+12
2017-09-10Backslash escapes the next character in filename patterns.guenther1-1/+4
2017-09-08Avoid clang warning and make code better by using a signed long;otto1-4/+4
2017-09-06intvar < sizeof(...) does not catch negative values since an int -> unsignedotto1-5/+5
2017-03-16buffer increase factor belongs in the nmemb field of reallocarray()deraadt1-2/+2
2017-03-11switch pax to using pledge tape instead of ioctl.tb2-5/+5
2017-01-23Slow down the churn and continue using old pledge name "ioctl" insteadderaadt2-5/+5
2017-01-23Split pledge "ioctl" into "tape" and "bpf", and allow SIOCGIFGROUP onlyderaadt2-5/+5
2017-01-21Nuke whitespace foolish enough to expose itself during the greatkrw1-2/+2
2016-12-26Put some variable declarations under appropriate #if/#endif protectionkrw2-2/+6
2016-12-20Fix a bug where archives smaller than 512 bytes would trigger a next volumekettenis1-2/+5
2016-08-26Need <time.h> for time() and others. Pulled in by coincidence previouslyguenther2-2/+4
2016-08-26-E NONE has *never* worked; it was always -E none. It's a dubious optionguenther2-26/+8
2016-08-26options.h is only used by options.c; merge it into the .c fileguenther2-122/+83
2016-08-26reduce and sort #includesguenther2-14/+12
2016-08-26tables.h is only used by tables.c; merge it into the .c fileguenther2-170/+132
2016-08-26<sys/time.h>, <errno.h>, and <stdlib.h> are unnecessary; sort #includesguenther1-6/+4
2016-08-26sel_subs.h is only used by sel_subs.c; merge it into the .c fileguenther2-76/+38
2016-08-26pat_rep.h is only used by pat_rep.c; merge it into the .c fileguenther2-56/+16
2016-08-26ftree.h is only used by ftree.c; merge it into the .c fileguenther2-58/+19
2016-08-26Don't need <sys/time.h> or "options.h" hereguenther6-13/+6
2016-08-26cache.h is only used by cache.c; merge it into the .c fileguenther2-78/+40
2016-08-25Replace name_{uid,gid}() with the libc routines user_from_uid() andguenther7-231/+29
2016-08-24Make list-like output go to stderr when appending to an archive on stdout.guenther1-20/+9
2016-08-24Treat cpio's -t option as a modifier to -i, so they're ordering independentguenther1-5/+12
2016-08-23Instead of doing strcmp(argv0), track the invocation mode (pax/tar/cpio)guenther6-13/+19
2016-08-23Only try to set the times on a directory once, at the end, to avoidguenther1-4/+2
2016-08-16Add HISTORY.schwarze1-2/+7
2016-08-14Remove many unnecessary casts. Verified by comparing generated code onguenther6-132/+111
2016-08-14Replace u_quad_t with unsigned long long and replace "uqd" with "ull" inguenther5-60/+66
2016-06-23allow creation of devices or fifo without -p (as it is already allowed with -p)semarie1-3/+3
2016-06-03new style overlords say to use continue in empty loops.tedu2-5/+5
2016-04-19Switch from fgetln() to getline() to simplify error handling.guenther1-41/+40
2016-02-16Ignore trailing slashes and skip over duplicate slashes in chk_path() toguenther1-4/+18
2016-02-15To archive a 101 character absolute path in ustar format we mustguenther1-7/+14
2016-01-01don't declar main. from Michal Mazurektedu1-2/+1
2015-12-24More adress -> addressmmcc1-2/+2
2015-12-16Replace "tame" by "pledge" in a comment.tb1-2/+2