OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.57 / (download) - annotate - [select for diffs], Sun Nov 26 16:04:17 2023 UTC (6 months, 2 weeks ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, HEAD
Changes since 1.56: +3 -2 lines
Diff to previous 1.56 (colored)

mark functions as static when they're unused elsewhere, makes the
code slightly easier to understand.

okay and tweak kn@

Revision 1.56 / (download) - annotate - [select for diffs], Thu Nov 9 18:54:15 2023 UTC (7 months ago) by kn
Branch: MAIN
Changes since 1.55: +26 -7 lines
Diff to previous 1.55 (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.55 / (download) - annotate - [select for diffs], Sun Oct 15 09:49:57 2023 UTC (7 months, 3 weeks ago) by kn
Branch: MAIN
Changes since 1.54: +5 -5 lines
Diff to previous 1.54 (colored)

Pledge once with or without "proc exec", not twice

Spotted while comparing ktraces between 'tar -z' and 'gzcat | tar -f-'.

Only the former runs, e.g. gzip(1), but the latter also pledges theses promises
just to pledge again immediately afterwards without them.

Make the calls mutually exclusive so 'tar -f-' et al. skip the first pledge
and thus never have "proc exec" to begin wth.

"looks good to me" mbuhl
OK millert

Revision 1.54 / (download) - annotate - [select for diffs], Wed Jul 5 18:45:14 2023 UTC (11 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4
Changes since 1.53: +4 -2 lines
Diff to previous 1.53 (colored)

It isn't portable to use stderr (or std{in,out}) in file-scope
initializers as they are not required to be compile-time constants.
So, intialize these global variables at the top of main().

ok miod@ deraadt@ yasuoka@ millert@

Revision 1.53 / (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_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.52: +5 -5 lines
Diff to previous 1.52 (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.52 / (download) - annotate - [select for diffs], Thu Sep 13 12:33:43 2018 UTC (5 years, 8 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.51: +9 -1 lines
Diff to previous 1.51 (colored)

Use the new libc uid_from_user() and gid_from_group() instead of
the pax-specific functions in cache.c.  OK guenther@

Revision 1.51 / (download) - annotate - [select for diffs], Fri Dec 8 17:04:14 2017 UTC (6 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.50: +3 -8 lines
Diff to previous 1.50 (colored)

Convert snprintf+write into dprintf.  It is simply easier to read, and
provides retry on short-write file descriptors.
ok florian, previous versions seen by millert

Revision 1.50 / (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_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

switch pax to using pledge tape instead of ioctl.

ok kettenis

Revision 1.49 / (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.48: +3 -3 lines
Diff to previous 1.48 (colored)

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

Revision 1.48 / (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.47: +3 -3 lines
Diff to previous 1.47 (colored)

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

Revision 1.47 / (download) - annotate - [select for diffs], Fri Aug 26 04:11:16 2016 UTC (7 years, 9 months ago) by guenther
Branch: MAIN
Changes since 1.46: +1 -2 lines
Diff to previous 1.46 (colored)

Don't need <sys/time.h> or "options.h" here

Revision 1.46 / (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.45: +2 -1 lines
Diff to previous 1.45 (colored)

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

ok deraadt@

Revision 1.45 / (download) - annotate - [select for diffs], Thu Jun 23 06:37:36 2016 UTC (7 years, 11 months ago) by semarie
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

allow creation of devices or fifo without -p (as it is already allowed with -p)

diff from trondd at kagu-tsuchi com, enhanced by me for reordering promises

ok deraadt@

Revision 1.44 / (download) - annotate - [select for diffs], Wed Dec 16 01:39:11 2015 UTC (8 years, 5 months ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

Replace "tame" by "pledge" in a comment.

Revision 1.43 / (download) - annotate - [select for diffs], Sun Dec 6 16:57:45 2015 UTC (8 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (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.42 / (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.41: +18 -1 lines
Diff to previous 1.41 (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.37.4.1 / (download) - annotate - [select for diffs], Thu Apr 30 19:30:57 2015 UTC (9 years, 1 month ago) by guenther
Branch: OPENBSD_5_6
Changes since 1.37: +2 -1 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Backport trunk commit of 2015/03/09 04:23:29:
tar/pax/cpio had multiple issues:
 * extracting a malicious archive could create files outside of the
   current directory without using pre-existing symlinks to 'escape',
   and could change the timestamps and modes on preexisting files
 * tar without -P would permit extraction of paths with ".." components
 * there was a buffer overflow in the handling of pax extension headers

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Thu Apr 30 19:28:46 2015 UTC (9 years, 1 month ago) by guenther
Branch: OPENBSD_5_7
Changes since 1.40: +2 -1 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

Backport trunk commit of 2015/03/09 04:23:29:
tar/pax/cpio had multiple issues:
 * extracting a malicious archive could create files outside of the
   current directory without using pre-existing symlinks to 'escape',
   and could change the timestamps and modes on preexisting files
 * tar without -P would permit extraction of paths with ".." components
 * there was a buffer overflow in the handling of pax extension headers

Revision 1.41 / (download) - annotate - [select for diffs], Mon Mar 9 04:23:29 2015 UTC (9 years, 3 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.40: +2 -1 lines
Diff to previous 1.40 (colored)

Unrevert post-unlock:
* Prevent an archive from esacaping the current directory by itself:
  when extracting a symlink whose value is absolute or contains ".."
  components, just create a zero-length normal file (with additional
  tracking of the mode and hardlinks to the symlink) until everything
  else is extracted, then go back and replace it with the requested
  link (if it's still that zero-length placeholder).

* For tar without -P, if a path in the archive has any ".." components
  then strip everything up to and including the last of them (if
  it ends in ".." then it becomes ".")
  This mostly follows GNU tar's behavior, except for 'tar tf' and
  'tar xvf' we report the modified path that would be/was actually
  created instead of the raw path from the archive

  Above two fixes prompted by a report from Daniel Cegielka
  (daniel.cegielka (at) gmail.com)

* For directories whose times or mode will be fixed up in the
  clean-up pass, record their dev+ino and then use
  open(O_DIRECTORY)+fstat() to verify that we're updating the correct
  directory before using futimens() and fchmod().

* Correct buffer overflow in handling of pax extension headers,
  caught by the memcpy() overlap check.


previously ok millert@ deraadt@

Revision 1.40 / (download) - annotate - [select for diffs], Sat Feb 21 22:48:23 2015 UTC (9 years, 3 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE
Branch point for: OPENBSD_5_7
Changes since 1.39: +0 -1 lines
Diff to previous 1.39 (colored)

Recent changes haven't been completely stable, so revert for the 5.7 release

requested by deraadt@

Revision 1.39 / (download) - annotate - [select for diffs], Thu Feb 12 23:44:57 2015 UTC (9 years, 3 months ago) by guenther
Branch: MAIN
Changes since 1.38: +2 -1 lines
Diff to previous 1.38 (colored)

Prevent an archive from esacaping the current directory by itself:
when extracting a symlink whose value is absolute or contains ".."
components, just create a zero-length normal file (with additional
tracking of the mode and hardlinks to the symlink) until everything
else is extracted, then go back and replace it with the requested
link (if its still that zero-length placeholder).

This and previous symlink and ".." path fixes prompted by a report
from Daniel Cegielka (daniel.cegielka (at) gmail.com)

ok millert@

Revision 1.38 / (download) - annotate - [select for diffs], Sun Nov 23 05:28:12 2014 UTC (9 years, 6 months ago) by guenther
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

Don't leak the fds for "." and the tty to the compression process

Revision 1.37 / (download) - annotate - [select for diffs], Sat May 24 03:49:49 2014 UTC (10 years ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE
Branch point for: OPENBSD_5_6
Changes since 1.36: +27 -27 lines
Diff to previous 1.36 (colored)

Make signal setup clearer via helper function, eliminating a gap in
ignoring signals when they were already ignored

ok millert@

Revision 1.36 / (download) - annotate - [select for diffs], Fri May 23 19:47:49 2014 UTC (10 years ago) by guenther
Branch: MAIN
Changes since 1.35: +12 -9 lines
Diff to previous 1.35 (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.35 / (download) - annotate - [select for diffs], Thu Jan 9 03:12:25 2014 UTC (10 years, 5 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.34: +1 -9 lines
Diff to previous 1.34 (colored)

Update pax -v format to match "ls -l": display the year for dates
in the future and include a space between the major and minor numbers
for devices.  Eliminate bogus handling of LC_TIME environment variable.
Make strftime() format selection understandable by gcc -Wformat=2.

ok millert@

Revision 1.34 / (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.33: +3 -3 lines
Diff to previous 1.33 (colored)

remove some unnecessary sys/param.h inclusions

Revision 1.33 / (download) - annotate - [select for diffs], Thu Apr 19 04:26:46 2012 UTC (12 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

add newline to signal error messages; Thomas Pfaff

Revision 1.32 / (download) - annotate - [select for diffs], Thu May 26 14:42:06 2011 UTC (13 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.31: +13 -8 lines
Diff to previous 1.31 (colored)

fix one signal race bug, and mark the others that remain much more
specifically
ok nicm

Revision 1.31 / (download) - annotate - [select for diffs], Thu Dec 2 04:08:27 2010 UTC (13 years, 6 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.30: +2 -1 lines
Diff to previous 1.30 (colored)

a -N option for tar that uses numeric only IDs, useful for cross system
tar file manipulation.  with advice from guenther and jmc.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Oct 28 20:30:41 2009 UTC (14 years, 7 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.29: +6 -6 lines
Diff to previous 1.29 (colored)

Err out if either sigaction fails and not just when both do.

ok otto@

Revision 1.29 / (download) - annotate - [select for diffs], Tue Oct 27 23:59:22 2009 UTC (14 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.28: +1 -15 lines
Diff to previous 1.28 (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.28 / (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_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, 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.27: +3 -3 lines
Diff to previous 1.27 (colored)

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

Revision 1.27 / (download) - annotate - [select for diffs], Fri Apr 16 22:50:23 2004 UTC (20 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored)

spacing

Revision 1.26 / (download) - annotate - [select for diffs], Tue Jan 20 14:08:45 2004 UTC (20 years, 4 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

When trying to append to a gzipped archive, print msg using errx(),
not err().  ok millert@

Revision 1.25 / (download) - annotate - [select for diffs], Mon Oct 20 06:22:27 2003 UTC (20 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.24: +6 -6 lines
Diff to previous 1.24 (colored)

typos from Jared Yanovich;

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jun 13 17:51:14 2003 UTC (21 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.23: +3 -2 lines
Diff to previous 1.23 (colored)

Add a -0 flag to make pax use a NUL instead of a newline as the
pathname separator.  Works in list mode as well as read/copy mode.
Based on a patch from David Leonard; closes PR 3310

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

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

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

sprinkle const; mostly from NetBSD

Revision 1.21 / (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.20: +8 -8 lines
Diff to previous 1.20 (colored)

Fix comment typos; most from NetBSD and FreeBSD

Revision 1.20 / (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.19: +2 -20 lines
Diff to previous 1.19 (colored)

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

Revision 1.19 / (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.18: +3 -3 lines
Diff to previous 1.18 (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.18 / (download) - annotate - [select for diffs], Mon Nov 5 09:38:52 2001 UTC (22 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.17: +4 -2 lines
Diff to previous 1.17 (colored)

mark a zone of signal races

Revision 1.17 / (download) - annotate - [select for diffs], Wed May 16 03:04:57 2001 UTC (23 years, 1 month ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.16: +9 -9 lines
Diff to previous 1.16 (colored)

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

Revision 1.16 / (download) - annotate - [select for diffs], Wed Feb 7 19:04:14 2001 UTC (23 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.15: +26 -2 lines
Diff to previous 1.15 (colored)

Honor TMPDIR environment variable and document the fact.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Jun 9 16:37:54 2000 UTC (24 years ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.14: +5 -3 lines
Diff to previous 1.14 (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.14 / (download) - annotate - [select for diffs], Sun Sep 20 02:22:22 1998 UTC (25 years, 8 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (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.13 / (download) - annotate - [select for diffs], Mon Jul 27 05:18:29 1998 UTC (25 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)

pull in string.h for memset() proto

Revision 1.12 / (download) - annotate - [select for diffs], Wed Jun 3 08:10:17 1998 UTC (26 years ago) by deraadt
Branch: MAIN
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored)

zero sigset_t before use

Revision 1.11 / (download) - annotate - [select for diffs], Mon Sep 1 18:29:58 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.10: +7 -7 lines
Diff to previous 1.10 (colored)

i am bored enough to fix terminal space/tab uglies

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

#if __STDC__ --> #ifdef __STDC__

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jul 24 23:19:21 1997 UTC (26 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.8: +7 -6 lines
Diff to previous 1.8 (colored)

Stash fd of cwd instead of using getcwd() to stash path.
This works in cases where the parent dir is not readable.

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

tabify

Revision 1.7 / (download) - annotate - [select for diffs], Sat Apr 5 22:36:17 1997 UTC (27 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored)

Strip leading '/' of pathnames (only in tar mode).  -S option turns
this off like GNU tar.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Mar 2 09:46:49 1997 UTC (27 years, 3 months ago) by tholo
Branch: MAIN
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

More complete cpio(1) emulation

Revision 1.5 / (download) - annotate - [select for diffs], Sun Oct 27 06:45:13 1996 UTC (27 years, 7 months ago) by downsj
Branch: MAIN
Changes since 1.4: +12 -2 lines
Diff to previous 1.4 (colored)

Initial cut -C support in paxtar.  Exceeds GNU tar by quite a bit.
General pax still seems to work ok.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jun 23 14:20:39 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
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:53 1996 UTC (28 years ago) by tholo
Branch: MAIN
Changes since 1.2: +3 -3 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:58 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.1: +3 -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:18 1995 UTC (28 years, 7 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:18 1995 UTC (28 years, 7 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.