summaryrefslogtreecommitdiff
path: root/bin/pax/ar_io.c
AgeCommit message (Collapse)Author
2003-02-03typos;Jason McIntyre
from netbsd(svs+pr@grep.ru) suggested by deraadt@
2002-11-29Foward; torh@bogus.netTheo de Raadt
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-09-19occured->occurredMike Pechkin
idea from deraadt@ via NetBSD millert@ ok p.s. Next commit will fix a typo in the sys/
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2001-05-26Get rid of NET2_FTS and NET2_REGEX #ifdefs since they are useless.Todd C. Miller
Change NET2_STAT into LONG_OFF_T for portability to systems with a 32bit off_t.
2001-05-16use proper str*cpy functions instead of home grown one, spaces; millert@ okMichael Shalayeff
2000-06-09Some minor cleanup, ok'd millert@Marc Espie
- remove zflag variable, since gzip_program is enough to know what's going on. - fix ar_gzip call to not depend on global variables. Avoid bogus act checks, avoid calling if fd == -1. - do gzip check for append as early as possible. - remove old K&R prototype when updating.
1999-08-04Kill gzip subprocess correctly instead of letting it get a SIGPIPE whenMarc Espie
using pax -n to list/extract.
1998-09-20When invoked as tar, print verbose output to stdout, not stderr. If in list ↵Todd C. Miller
mode or in create mode where create output is to stdout print to stderr
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-18(foo *)NULL -> NULLkstailey
1997-03-25Back out my previous kludge to make tar files with short trailers work inTodd C. Miller
favor of a simpler change--never try to do a media change when invoked as tar. This fixes problems that crop up if gzip exits unhappily and others.
1997-03-02Say how many blocks were read/written in cpio modeThorsten Lockert
1997-02-27fix pr system/124, reported by Janjaap van Velthooven (janjaap@stack.nl).michaels
1997-02-20cpio emulation for paxThorsten Lockert
1997-02-16Don't give summary line at end when using tar formatThorsten Lockert
1996-12-09revert to spawning compress-ing program. normally we want extracts usingTheo de Raadt
'z' to also work on .Z files, but libz does not deal with compressed data. Hacking the code to deal well with pipes has proven very hard.
1996-11-24Fix core dump if -xz and archive does not exist (doh!)Todd C. Miller
1996-10-27-z can now list/extra compressed files too. Uses new gz_iszipped() function.Todd C. Miller
1996-09-22Use zopen for compress-style compressed archivesThorsten Lockert
Use libz for gzip-style compressed archives
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
1996-04-19from mrg; impliment -z (gzip) in pax and tar, and -Z (compress) in tarTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt