Home | History | Annotate | Download | only in pax
History log of /src/bin/pax/pax.h
RevisionDateAuthorComments
 1.31  09-Aug-2012  christos branches: 1.31.34;
PR/46786: Simon Burge: After conversion to 64 bit time_t, tar/pax/cpio
erroneously think that negative time_t's never fit in 32 bits. Rework
conversion code to always use uintmax_t, and detect negative values.
XXX[1]: Perhaps we should do the same (use a signed conversion) for all
fields not just for time_t
XXX[2]: pullup for 6
 1.30  07-Apr-2009  perry branches: 1.30.6;
Fixes from christos for pr-41167

XXX -X is still broken, but that wasn't part of this PR.
 1.29  14-Feb-2009  lukem fix -Wsign-compare issues
 1.28  24-Feb-2008  joerg branches: 1.28.8; 1.28.10;
Kill pre-4.4BSD compat code.
 1.27  02-Dec-2007  wiz branches: 1.27.4;
Fix typo in comment.
 1.26  29-Apr-2007  msaitoh branches: 1.26.4;
fix typos
 1.25  24-Sep-2005  dsl Don't leave arcn->org_name pointing to ftent->fts_path, if we being cpio
then ftent is freed just below. Take a copy of the name and point org_name
at the copy.
Should fix PR/30627 (the fix in the PR will break pax and tar!)
 1.24  11-May-2004  christos Welcome to WARNS=3
 1.23  12-Feb-2004  matt branches: 1.23.4;
When restoring files from an archive, initially restore to a temp-file and
once it has been instantiated correctly, rename it to desired name. This
prevents the problem of partially created files being accessed before they
are complete. If said file is a shared library, that can cause ramdon core
dumps.
 1.22  27-Oct-2003  lukem Overhaul how `build.sh tools' are used:

* Rename "config.h" to "nbtool_config.h" and
HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
This makes in more obvious in the source when we're using
tools/compat/config.h versus "standard autoconf" config.h

* Consistently move the inclusion of nbtool_config.h to before
<sys/cdefs.h> so that the former can provide __RCSID() (et al),
and there's no need to protect those macros any more.

These changes should make it easier to "tool-ify" a program by adding:
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
to the top of the source files (for the general case).
 1.21  13-Oct-2003  agc Move Keith Muller's code from a 4-clause to a 3-clause licence by removing
the advertising clause. Diffs provided in PR 22397 by Joel Baker, confirmed
to the board by Keith Muller.
 1.20  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22249, verified by myself.
 1.19  23-Jun-2003  grant no need for HAVE_LCHOWN and HAVE_LCHMOD anymore.
 1.18  09-May-2003  lukem #ifdef HOSTPROG then explicitly use {major,minor,makedev}_netbsd
macros from pack_dev.h instead of the native versions.
Fixes [toolchain/20051] by Valeriy E. Ushakov.
 1.17  17-Oct-2002  christos Fix DEFOP botch. DEFOP == LIST so tar -tvf stopped working. (hi soren)
 1.16  13-Oct-2002  mrg make this build on LP64
 1.15  12-Oct-2002  thorpej It doesn't help much to skip linking librmt if HOSTPROG but leave
all the librmt calls in the program. So, make librmt support conditional
on #ifdef SUPPORT_RMT, and define that when NOT building as a HOSTPROG.
 1.14  12-Oct-2002  christos merge OpenBSD changes:
- correct -C processing
- add ability to read filenames and flags from a file
- don't print dangerous escape sequences to the terminal
- use strlcpy/strncpy properly.
- handle tmpfile creation better.
- improve documentation of options.
- handle stdout/stderr list selection correctly.
- kill gzip when we get interrupted.
- simplify gzip setup.
- add more flags to programs.

additional changes:
- librmt processing.
- set POSIXLY_CORRECT in options parsing.
- prevent more string overruns.
- support -T

we don't turn the switch on to replace tar and cpio yet.
 1.13  31-Jan-2002  tv branches: 1.13.2;
Roll in fixes to permit cross-compiling from non-NetBSD hosts. This
round has been tested on Solaris/x86 and Linux hosts.

* Add host tools cap_mkdb, ctags, m4, uudecode.
* Protect __RCSID() and __COPYRIGHT() better.
* Reduce the number of places that need to include "config.h", to keep
sources closer to their "vanilla" versions.
* Add more compat #defines and autoconf-checked functions.
 1.12  28-Oct-2001  lukem s/u_longlong_t/unsigned long long/ to shut up the parc port
 1.11  25-Oct-2001  lukem - ansi KNF (just remove all the #ifndef __STDC__ prototype junk,
leaving the ansi stuff)
- use longlong_t instead of quad_t (etc), and rename *uqd*() -> *ull*()
- clean up the NET2_STAT stuff similar to ftpd; provide #defines and
macros which select which cast to use, etc
- clean up the NET2_FTS and NET2_REGEX #define use
 1.10  04-Sep-2001  wiz Fix typo (specifc instead of specific).
 1.9  17-Feb-2000  itohy Cleanup and fix typos.
Partially from FreeBSD.
 1.8  22-Oct-1999  is Implement positional -C argument to tar.
 1.7  22-Oct-1999  mrg support ././@LongLink extraction, as created by GNU tar.
 1.6  03-Jul-1999  kleink branches: 1.6.2;
Honor the contents of $TMPDIR for the creation of temporary files, and use
_PATH_TMP instead of hardcoding /tmp if not set in the environment; fixes
PR bin/7796 from Chris Demetriou.
 1.5  26-Mar-1998  mycroft branches: 1.5.2;
Use major(), minor() and makedev(), not a hacked up local equivalent, which
only supported 8-bit major and minor numbers.
 1.4  20-Jul-1997  christos - Rename local warn so tty_warn that we can include <err.h> since this program
uses err() and errx().
- Fix printf format strings.
- Added WARNS=1; note
- Added missing prototypes.
- Split overloaded trail function into trail() and subtrail().
 1.3  21-Mar-1995  cgd convert to new RCS id conventions.
 1.2  13-Jun-1994  jtc Add RCS ID's
 1.1  13-Jun-1994  jtc branches: 1.1.1;
Initial revision
 1.1.1.1  13-Jun-1994  jtc From 4.4 lite
 1.5.2.1  07-Jul-1999  perry pullup 1.5->1.6 (kleink)
 1.6.2.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.13.2.2  16-Jun-2004  jmc fix botched pullup from ticket #1021 and make sure this compiles on
non-NetBSD hosts again. Also fixes PR#24481
 1.13.2.1  07-Apr-2004  jmc Pullup rev 1.14-1.23 (requested by rafal in ticket #1021)

Pullup pax to current version on trunk. Includes many fixes.
 1.23.4.1  23-Jul-2005  snj Apply patch (requested by riz in ticket #5512):
Sync pax with HEAD of 2005-07-22.
 1.26.4.2  23-Mar-2008  matt sync with HEAD
 1.26.4.1  09-Jan-2008  matt sync with HEAD
 1.27.4.1  24-Mar-2008  keiichi sync with head.
 1.28.10.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.28.8.1  13-Apr-2009  snj Pull up following revision(s) (requested by christo in ticket #678):
bin/pax/extern.h: revision 1.56
bin/pax/file_subs.c: revision 1.62
bin/pax/options.c: revision 1.104
bin/pax/pat_rep.c: revision 1.29
bin/pax/pax.h: revision 1.30
Fixes from christos for pr-41167
XXX -X is still broken, but that wasn't part of this PR.
 1.30.6.1  30-Oct-2012  yamt sync with head
 1.31.34.2  21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.31.34.1  21-Apr-2020  martin Sync with HEAD

RSS XML Feed