summaryrefslogtreecommitdiff
path: root/bin/pax/file_subs.c
AgeCommit message (Collapse)Author
2009-12-22- tyop, spotted by Brad TilleyJasper Lievisse Adriaanse
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2005-11-09Compute the sv4cpio "crc" (it's actualy just a checksum) as a 32bitOtto Moerbeek
number. Fixes crc computation on 64 bit archs. From Peter Philipp in PR 4606; looks right fgsch@, ok millert@
2005-04-25Use the various f* functions to set owner, mode and times, insteadOtto Moerbeek
of operating on the path name. Avoids some races. ok deraadt@ cloder@ millert@
2004-11-29Build the table of created directories in-memory, instead of usingOtto Moerbeek
a tmp file. Makes it possible to unpack an archive without using /tmp, while memory usage is still within every reasonable limit. "love it" deraadt@ ok millert@ jaredy@
2004-04-16spacingTheo de Raadt
2004-03-30Add support for expanding GNU long links from NetBSD. I've had thisTodd C. Miller
in my tree for ages but didn't have a proper test case. Thanks to otto@ for providing one.
2003-10-20typos from Jared Yanovich;Jason McIntyre
2003-08-06Remove some double semicolons (hmm, do two semis equal a maxi?).Todd C. Miller
I've skipped the GNU stuff for now. From Patrick Latifi.
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-02-03typos;Jason McIntyre
from netbsd(svs+pr@grep.ru) suggested by deraadt@
2002-10-18Pull in some changes from NetBSDTodd C. Miller
o When extracting GNU tar archives, honor @LongLink long links/files o Add an option to prevent pax from prompting for the next volume upon premature end of archive.
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
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-10-25Make -h and -L follow symlinks on extraction of directories.Niklas Hallqvist
This means that existing symbolic links won't get overwritten with a directory, but instead the directory is created/updated with the privs from the archive at the end of the symlink chain. Great for unpacking OpenBSD release tarballs, where you have linked away stuff due to lack of space on a certain partition etc.
2001-05-16use proper str*cpy functions instead of home grown one, spaces; millert@ okMichael Shalayeff
1997-09-01i am bored enough to fix terminal space/tab ugliesTheo de Raadt
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-06-06geteuid(2) can never fail. What was I thinking?Todd C. Miller
1997-06-06POSIX says pax must complain about not being able to set permissionsTodd C. Miller
but we don't have to do that in non-pax modes.
1997-06-04Don't complain about not being able to set uid/gid in "tar -p"Todd C. Miller
(EPERM) unless the verbose flag is given or the user is root. Noted by Magnus Holmberg <mho@stacken.kth.se>.
1997-04-09the theTheo de Raadt
1997-03-05Add missing #includeThorsten Lockert
1997-03-04Do not post-process directories in cpio modeThorsten Lockert
1997-03-02More complete cpio(1) emulationThorsten Lockert
1997-01-26Support lchown().Jason Downs
1996-06-23update rcsidTheo de Raadt
1996-06-11Correct compile warningsThorsten Lockert
Rename warn() to paxwarn() so <err.h> can be included Remove #include <ctype.h> when not needed; from FreeBSD
1995-10-18initial import of NetBSD treeTheo de Raadt