History log of /freebsd-9.3-release/bin/pax/pax.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 222177 22-May-2011 uqs

Fix a bunch of typos and a couple of whitespace nits.

Helped by: codespell and vim's spellchecker


# 127958 06-Apr-2004 markm

Remove clause 3 from the UCB licenses.

OK'ed by: imp, core


# 114583 03-May-2003 markm

Fix a bazillion warnings. This makes almost the whole of src/bin/*
WARNS=6, std=c99 clean.

Tested on: i386, alpha


# 114470 01-May-2003 obrien

Quiet warnings about copyright[].


# 102230 21-Aug-2002 trhodes

s/filesystem/file system/ as discussed on -developers


# 99110 30-Jun-2002 obrien

Consistently use FBSDID


# 96702 15-May-2002 trhodes

Consistancy check s/file system/filesystem/

Reviewed by: brian


# 90110 02-Feb-2002 imp

o __P has been reoved
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.


# 81601 13-Aug-2001 peter

Initialize listf at main()


# 78732 24-Jun-2001 dd

Include missing header files which define functions for which gcc has
builtins (e.g., exit, strcmp).


# 76351 08-May-2001 kris

Sync up with OpenBSD. Too many changes to note, but the major features
are:
* Implement cpio compatibility mode when pax is invoked as cpio
* Extend tar compatibility mode to cover many of the GNU tar single-letter
options (bzip2 mode, aka -y/-j is not present in OpenBSD). When
invoked as tar, pax is now full-featured enough for use by the ports
collection to extract distfiles and create packages.
* Many bug fixes to the operation of pax and the tar compatibility modes
* Code fixes for things like correct string buffer termination.

I tried to preserve existing FreeBSD fixes to this utility; please let me
know if I have inadvertently spammed something.


# 76286 04-May-2001 kris

Add -z flag to pax to allow gzipping of archive output. Add -z and -Z (gzip
and compress) to pax when used in tar mode (invoked as 'tar') for
compatibility with GNU tar.

bzip2 functionality for further GNU tar compatibility will be added at a
later date.

Note in the manpage that -z is non-standard.

Obtained from: OpenBSD
Reviewed by: -hackers
MFC after: 2 weeks


# 76019 26-Apr-2001 kris

Whitespace cleanup pass; reduce diffs with OpenBSD. No functional changes.


# 76017 26-Apr-2001 kris

Reduce diffs with OpenBSD:
#if __STDC__ -> #ifdef __STDC__
pax_warn() -> paxwarn()
sys_warn() -> syswarn()
(foo *)NULL -> NULL
bcopy -> memmove()/memcpy()
bzero -> memset()
Typo fixes
sprintf() -> snprintf()
rindex() -> strrchr()
index() -> strchr()
sys_errlist[] -> strerror()

Obtained from: OpenBSD


# 76016 26-Apr-2001 kris

Use mkstemp() for secure tempfile creation instead of tempnam()

Obtained from: OpenBSD
Reviewed by: mikeh


# 73345 02-Mar-2001 ru

POSIX wrote:

: LC_TIME This variable shall determine the format and
: contents of date and time strings when the -v
: option is specified.

Developers took this wrong. LC_TIME specifies the locale
name, not the ``format'' argument of strftime().

Oops:
pax -w -f /tmp/foo /dev/null
LC_TIME=de_DE.ISO_8859-1 pax -v -f /tmp/foo


# 50471 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 46684 08-May-1999 kris

Various spelling/formatting changes.

Submitted by: Philippe Charnier <charnier@xp11.frmug.org>


# 36049 15-May-1998 charnier

Correct use of .Nm. Add rcsid.


# 31666 10-Dec-1997 eivind

Remove simultaneous include of <sys/param.h> and <sys/types.h>.
Reorder includes to be alphabetical some places since I already was in
here.


# 28904 29-Aug-1997 sos

Dont have an internal function named "warn" it clashes with libc..
Needed for ELF.


# 22988 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# 20420 14-Dec-1996 steve

-Wall cleaning.


# 17517 11-Aug-1996 ache

Pick collate info for RE character ranges


# 11746 23-Oct-1995 ache

Remove unneded ctype.h everywhere
Add setlocale LC_TIME


# 8855 29-May-1995 rgrimes

Remove trailing whitespace.

Reviewed by: phk


# 3044 24-Sep-1994 dg

Added $Id$


# 1557 26-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1556,
which included commits to RCS files with non-trunk default branches.


# 1556 26-May-1994 rgrimes

BSD 4.4 Lite bin Sources