OpenBSD CVS

CVS log for src/bin/pax/ar_io.c


[BACK] Up to [local] / src / bin / pax

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.64 / (download) - annotate - [select for diffs], Thu Nov 9 18:54:15 2023 UTC (7 months ago) by kn
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, HEAD
Changes since 1.63: +11 -4 lines
Diff to previous 1.63 (colored)

Tighten pledge in List and Append mode:

Drop "wpath cpath fattr dpath" in read-only:
-  cpio -i -t < test.tar
-  pax < test.tar
-  tar -t -f test.tar

Drop "cpath fattr dpath" in read-write:
-  echo foo | cpio -o -A -H ustar -O test.tar
-  tar -r -f test.tar foo
-  pax -w -a -f test.tar foo

Other modes remain unchanged and thus can create or modify files.

Feedback OK millert

Revision 1.63 / (download) - annotate - [select for diffs], Fri Jun 28 13:34:59 2019 UTC (4 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.62: +28 -28 lines
Diff to previous 1.62 (colored)

When system calls indicate an error they return -1, not some arbitrary
value < 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.

Revision 1.62 / (download) - annotate - [select for diffs], Sat Mar 11 12:55:47 2017 UTC (7 years, 3 months ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored)

switch pax to using pledge tape instead of ioctl.

ok kettenis

Revision 1.61 / (download) - annotate - [select for diffs], Mon Jan 23 12:46:13 2017 UTC (7 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

Slow down the churn and continue using old pledge name "ioctl" instead
of "tape" for a week or so.

Revision 1.60 / (download) - annotate - [select for diffs], Mon Jan 23 04:25:05 2017 UTC (7 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored)

Split pledge "ioctl" into "tape" and "bpf", and allow SIOCGIFGROUP only
upon "inet".  Adjust the 4 programs that care about this.

Revision 1.59 / (download) - annotate - [select for diffs], Fri Aug 26 04:31:35 2016 UTC (7 years, 9 months ago) by guenther
Branch: MAIN
Changes since 1.58: +7 -8 lines
Diff to previous 1.58 (colored)

reduce and sort #includes

Revision 1.58 / (download) - annotate - [select for diffs], Tue Aug 23 06:00:28 2016 UTC (7 years, 9 months ago) by guenther
Branch: MAIN
Changes since 1.57: +4 -4 lines
Diff to previous 1.57 (colored)

Instead of doing strcmp(argv0), track the invocation mode (pax/tar/cpio)
in a separate variable

ok deraadt@

Revision 1.57 / (download) - annotate - [select for diffs], Sun Aug 14 18:30:33 2016 UTC (7 years, 9 months ago) by guenther
Branch: MAIN
Changes since 1.56: +11 -11 lines
Diff to previous 1.56 (colored)

Remove many unnecessary casts.  Verified by comparing generated code on
both ILP32 and LP64.

ok millert@

Revision 1.56 / (download) - annotate - [select for diffs], Fri Jun 3 23:22:20 2016 UTC (8 years ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored)

new style overlords say to use continue in empty loops.
this is easier to see and self documenting.
ok openbsd

Revision 1.55 / (download) - annotate - [select for diffs], Sun Dec 6 16:57:45 2015 UTC (8 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored)

pledge "dpath" to allow creation of nodes via mkfifo(2) and mknod(2)
NOTE: dpath requires a fairly new kernel
ok semarie

Revision 1.54 / (download) - annotate - [select for diffs], Wed Oct 14 20:57:28 2015 UTC (8 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.53: +5 -1 lines
Diff to previous 1.53 (colored)

Use a strict $PATH of "/usr/bin:/usr/local/bin" to run the (de)compressors
(gzip, compress, bzip2) rather than following the user's path.  This
seems easier than hardcoding the paths elsewhere and using basename().

pax/tar is pledged itself, but it can spawn one of these programs if
asked.  The three found at the strict path use pledge "stdio" very early
during startup, providing a warm fuzzy pledge->exec->no-pledge->pledge
interlock.  For bzip2, this assumes use of the ports/packages version
installed to /usr/local/bin, which has been pledged by sthen@.

Doing a 'tar tvfz hostile.tgz' becomes a bit safer, since an attacker
finding a buffer overflow or use after free has significantly fewer
system calls available (only pledge "stdio" in the decompressor).

ok millert sthen

Revision 1.53 / (download) - annotate - [select for diffs], Mon Oct 12 14:01:06 2015 UTC (8 years, 8 months ago) by semarie
Branch: MAIN
Changes since 1.52: +6 -6 lines
Diff to previous 1.52 (colored)

reenable pledge(2) on pax, but only if pmode isn't in use or if action
shouldn't do things with filesystem.

ok deraadt@ millert@

Revision 1.52 / (download) - annotate - [select for diffs], Mon Oct 12 09:28:54 2015 UTC (8 years, 8 months ago) by semarie
Branch: MAIN
Changes since 1.51: +3 -1 lines
Diff to previous 1.51 (colored)

Revert the pledge() call on pax/ar_io.c for now.

A pledged program is not allowed to change user/group for others.

"I think that makes the most sense" @sthen

Revision 1.51 / (download) - annotate - [select for diffs], Mon Oct 12 05:05:24 2015 UTC (8 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.50: +5 -1 lines
Diff to previous 1.50 (colored)

preservation modes can adjust setugid bits, so no pledge is possible.
Otherwise, lay the groundwork for whether a gzip program may be run or not.
After such a gzip program is started, pledge the program will not exec
again.  Took a few iterations to get this going... it is looking good.
with guenther.

Revision 1.50 / (download) - annotate - [select for diffs], Sun Mar 22 03:15:00 2015 UTC (9 years, 2 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

rev 1.44 accidentally changed ar_close() to give cpio the same output as pax.
Adjust the conditions to correct that.

ok millert@

Revision 1.49 / (download) - annotate - [select for diffs], Mon Mar 9 04:25:28 2015 UTC (9 years, 3 months ago) by guenther
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

Fix comment grammar

Revision 1.48 / (download) - annotate - [select for diffs], Sat May 24 18:51:00 2014 UTC (10 years ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

Delete pointless casts: free() return value to (void), free()'s
argument to (char *), and malloc/calloc's return value to the type
of the variable it's being assigned to.
Convert the one calloc() where the zeroing isn't needed to a reallocarray().

ok millert@

Revision 1.47 / (download) - annotate - [select for diffs], Fri May 23 21:58:26 2014 UTC (10 years ago) by guenther
Branch: MAIN
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored)

Archives written with a non-standard blocksize currently show up as
truncated reads.  Until better detection of that case can is implemented,
back out that part of rev 1.45

problem noted by sthen@

Revision 1.46 / (download) - annotate - [select for diffs], Fri May 23 19:47:49 2014 UTC (10 years ago) by guenther
Branch: MAIN
Changes since 1.45: +18 -20 lines
Diff to previous 1.45 (colored)

Make the signal handler safe: block signals when updating data-structures
that are walked by routines called from the signal handler and use
dprintf() instead fprintf() in ar_close().

ok millert@

Revision 1.45 / (download) - annotate - [select for diffs], Wed May 21 04:17:56 2014 UTC (10 years ago) by guenther
Branch: MAIN
Changes since 1.44: +10 -4 lines
Diff to previous 1.44 (colored)

Exit with non-zero status if a read is truncated, or if a compression
program was used but it didn't exit successfully.

Original diff by mpf@

Revision 1.44 / (download) - annotate - [select for diffs], Sat Jan 11 05:36:26 2014 UTC (10 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.43: +6 -4 lines
Diff to previous 1.43 (colored)

Add -DNOCPIO option for use by distrib/special
ok guenther tedu

Revision 1.43 / (download) - annotate - [select for diffs], Wed Jan 8 05:52:47 2014 UTC (10 years, 5 months ago) by guenther
Branch: MAIN
Changes since 1.42: +5 -5 lines
Diff to previous 1.42 (colored)

Replace strtoq(), QUAD_MAX, and %qu with their long long equivalent

Revision 1.42 / (download) - annotate - [select for diffs], Wed Jan 8 04:58:36 2014 UTC (10 years, 5 months ago) by guenther
Branch: MAIN
Changes since 1.41: +1 -9 lines
Diff to previous 1.41 (colored)

Eliminate poisonous LONG_OFF_T conditional

adjective suggested by deraadt@

Revision 1.41 / (download) - annotate - [select for diffs], Wed Jan 8 04:42:24 2014 UTC (10 years, 5 months ago) by guenther
Branch: MAIN
Changes since 1.40: +4 -4 lines
Diff to previous 1.40 (colored)

Rename arguments to avoid shadowing global variables

ok fgsch@

Revision 1.40 / (download) - annotate - [select for diffs], Tue Dec 4 02:24:45 2012 UTC (11 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.39: +1 -2 lines
Diff to previous 1.39 (colored)

remove some unnecessary sys/param.h inclusions

Revision 1.39 / (download) - annotate - [select for diffs], Tue Oct 27 23:59:22 2009 UTC (14 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.38: +1 -9 lines
Diff to previous 1.38 (colored)

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
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

Revision 1.38 / (download) - annotate - [select for diffs], Wed Jun 11 00:49:08 2008 UTC (16 years ago) by pvalchev
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

Add tar -j option that calls bzip2 for compress/decompress. Requires
you to install the bzip2 pkg (or add bzip2 in another way).

ok millert@ otto@ deraadt@ and 'many others'@
man page tweak from jmc@

Revision 1.37 / (download) - annotate - [select for diffs], Thu Aug 4 10:02:44 2005 UTC (18 years, 10 months ago) by mpf
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.36: +6 -6 lines
Diff to previous 1.36 (colored)

Make pax exit unsuccessfully on errors.
Patch by fgsch@ and me.
Fixes PR 4310.
OK fgsch@ otto@ millert@

Revision 1.36 / (download) - annotate - [select for diffs], Sun Jun 20 16:22:08 2004 UTC (19 years, 11 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.35: +5 -3 lines
Diff to previous 1.35 (colored)

Do not go on if the -C option caused a failed chdir. ok millert@ henning@

Revision 1.35 / (download) - annotate - [select for diffs], Fri Apr 16 22:50:23 2004 UTC (20 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.34: +6 -6 lines
Diff to previous 1.34 (colored)

spacing

Revision 1.34 / (download) - annotate - [select for diffs], Mon Sep 8 20:19:51 2003 UTC (20 years, 9 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.33: +8 -6 lines
Diff to previous 1.33 (colored)

fix pr3455 from Joerg.Sonnenberger.  slightly improved fix suggested by
millert@.  ok beck@ deraadt@ millert@

Revision 1.33 / (download) - annotate - [select for diffs], Mon Jun 2 23:32:08 2003 UTC (21 years ago) by millert
Branch: MAIN
Changes since 1.32: +3 -7 lines
Diff to previous 1.32 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Feb 3 09:06:42 2003 UTC (21 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.31: +10 -10 lines
Diff to previous 1.31 (colored)

typos;
from netbsd(svs+pr@grep.ru)
suggested by deraadt@

Revision 1.31 / (download) - annotate - [select for diffs], Fri Nov 29 09:27:34 2002 UTC (21 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

Foward; torh@bogus.net

Revision 1.30 / (download) - annotate - [select for diffs], Fri Oct 18 15:38:11 2002 UTC (21 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.29: +4 -3 lines
Diff to previous 1.29 (colored)

Pull in some changes from NetBSD
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.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Oct 16 19:20:02 2002 UTC (21 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.28: +7 -7 lines
Diff to previous 1.28 (colored)

sprinkle const; mostly from NetBSD

Revision 1.28 / (download) - annotate - [select for diffs], Wed Oct 16 18:40:30 2002 UTC (21 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.27: +12 -12 lines
Diff to previous 1.27 (colored)

Fix comment typos; most from NetBSD and FreeBSD

Revision 1.27 / (download) - annotate - [select for diffs], Wed Oct 16 17:43:10 2002 UTC (21 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.26: +11 -11 lines
Diff to previous 1.26 (colored)

kill register

Revision 1.26 / (download) - annotate - [select for diffs], Tue Feb 19 19:39:35 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.25: +2 -70 lines
Diff to previous 1.25 (colored)

We live in an ANSI C world.  Remove lots of gratuitous #ifdef __STDC__ cruft.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:07 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

Part one of userland __P removal.  Done with a simple regexp with some minor hand editing to make comments line up correctly.  Another pass is forthcoming that handles the cases that could not be done automatically.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Sep 19 10:58:07 2001 UTC (22 years, 8 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

occured->occurred

idea from deraadt@ via NetBSD
millert@ ok

p.s. Next commit will fix a typo in the sys/

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jul 9 07:04:26 2001 UTC (22 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

correct type on last arg to execl(); nordin@cse.ogi.edu

Revision 1.22 / (download) - annotate - [select for diffs], Sat May 26 00:32:20 2001 UTC (23 years ago) by millert
Branch: MAIN
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

Get rid of NET2_FTS and NET2_REGEX #ifdefs since they are useless.
Change NET2_STAT into LONG_OFF_T for portability to systems with
a 32bit off_t.

Revision 1.21 / (download) - annotate - [select for diffs], Wed May 16 03:04:54 2001 UTC (23 years, 1 month ago) by mickey
Branch: MAIN
Changes since 1.20: +13 -13 lines
Diff to previous 1.20 (colored)

use proper str*cpy functions instead of home grown one, spaces; millert@ ok

Revision 1.20 / (download) - annotate - [select for diffs], Fri Jun 9 16:37:54 2000 UTC (24 years ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.19: +13 -33 lines
Diff to previous 1.19 (colored)

Some minor cleanup, ok'd millert@
- 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.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Aug 4 17:13:24 1999 UTC (24 years, 10 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.18: +17 -6 lines
Diff to previous 1.18 (colored)

Kill gzip subprocess correctly instead of letting it get a SIGPIPE when
using pax -n to list/extract.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Sep 20 02:22:21 1998 UTC (25 years, 8 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.17: +14 -20 lines
Diff to previous 1.17 (colored)

When invoked as tar, print verbose output to stdout, not stderr.  If in list mode or in create mode where create output is to stdout print to stderr

Revision 1.17 / (download) - annotate - [select for diffs], Mon Sep 1 18:29:42 1997 UTC (26 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.16: +11 -11 lines
Diff to previous 1.16 (colored)

i am bored enough to fix terminal space/tab uglies

Revision 1.16 / (download) - annotate - [select for diffs], Fri Jul 25 18:58:21 1997 UTC (26 years, 10 months ago) by mickey
Branch: MAIN
Changes since 1.15: +14 -14 lines
Diff to previous 1.15 (colored)

#if __STDC__ --> #ifdef __STDC__

Revision 1.15 / (download) - annotate - [select for diffs], Wed Jul 23 19:15:53 1997 UTC (26 years, 10 months ago) by kstailey
Branch: MAIN
Changes since 1.14: +10 -10 lines
Diff to previous 1.14 (colored)

tabify

Revision 1.14 / (download) - annotate - [select for diffs], Wed Jun 18 18:48:23 1997 UTC (26 years, 11 months ago) by kstailey
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

(foo *)NULL -> NULL

Revision 1.13 / (download) - annotate - [select for diffs], Tue Mar 25 09:30:19 1997 UTC (27 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Back out my previous kludge to make tar files with short trailers work in
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.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Mar 2 20:42:56 1997 UTC (27 years, 3 months ago) by tholo
Branch: MAIN
Changes since 1.11: +5 -3 lines
Diff to previous 1.11 (colored)

Say how many blocks were read/written in cpio mode

Revision 1.11 / (download) - annotate - [select for diffs], Thu Feb 27 23:32:56 1997 UTC (27 years, 3 months ago) by michaels
Branch: MAIN
Changes since 1.10: +5 -2 lines
Diff to previous 1.10 (colored)

fix pr system/124, reported by Janjaap van Velthooven (janjaap@stack.nl).

Revision 1.10 / (download) - annotate - [select for diffs], Thu Feb 20 06:54:31 1997 UTC (27 years, 3 months ago) by tholo
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

cpio emulation for pax

Revision 1.9 / (download) - annotate - [select for diffs], Sun Feb 16 07:51:12 1997 UTC (27 years, 3 months ago) by tholo
Branch: MAIN
Changes since 1.8: +8 -6 lines
Diff to previous 1.8 (colored)

Don't give summary line at end when using tar format

Revision 1.8 / (download) - annotate - [select for diffs], Mon Dec 9 12:00:13 1996 UTC (27 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.7: +189 -230 lines
Diff to previous 1.7 (colored)

revert to spawning compress-ing program. normally we want extracts using
'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.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Nov 24 18:15:59 1996 UTC (27 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Fix core dump if -xz and archive does not exist (doh!)

Revision 1.6 / (download) - annotate - [select for diffs], Sun Oct 27 00:29:40 1996 UTC (27 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.5: +9 -4 lines
Diff to previous 1.5 (colored)

-z can now list/extra compressed files too.  Uses new gz_iszipped() function.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Sep 22 20:09:53 1996 UTC (27 years, 8 months ago) by tholo
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.4: +225 -189 lines
Diff to previous 1.4 (colored)

Use zopen for compress-style compressed archives
Use libz for gzip-style compressed archives

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jun 23 14:20:28 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

update rcsid

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jun 11 06:41:46 1996 UTC (28 years ago) by tholo
Branch: MAIN
Changes since 1.2: +18 -18 lines
Diff to previous 1.2 (colored)

Correct compile warnings
Rename warn() to paxwarn() so <err.h> can be included

Remove #include <ctype.h> when not needed; from FreeBSD

Revision 1.2 / (download) - annotate - [select for diffs], Fri Apr 19 02:24:51 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.1: +72 -2 lines
Diff to previous 1.1 (colored)

from mrg; impliment -z (gzip) in pax and tar, and -Z (compress) in tar

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:37:16 1995 UTC (28 years, 8 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:37:16 1995 UTC (28 years, 8 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.