History log of /netbsd-src/bin/pax/tar.c (Results 1 – 25 of 76)
Revision Date Author Comments
# 2b9c0f9f 05-Aug-2024 riastradh <riastradh@NetBSD.org>

pax(1): Nix trailing whitespace.

No functional change intended.


# ee05db82 20-Mar-2019 gutteridge <gutteridge@NetBSD.org>

pax: fix typos in comments in file_subs.c & tar.c

Stamp out "greengrocers' apostrophes" in various places (arguably there
are still more present, but style guides vary on that, and my energies
spent

pax: fix typos in comments in file_subs.c & tar.c

Stamp out "greengrocers' apostrophes" in various places (arguably there
are still more present, but style guides vary on that, and my energies
spent corralling wayward punctuation marks could be spent elsewhere).

show more ...


# a4c163fa 30-Nov-2018 christos <christos@NetBSD.org>

Add base-256 decoding support (Micha Gorny)


# 9158fb65 19-Dec-2015 christos <christos@NetBSD.org>

PR/50119: Thomas Klausner: Add --timestamp option to tar.


# 7da746ab 16-Jun-2015 christos <christos@NetBSD.org>

remove \n from error messages


# 54f7a5db 24-Jan-2013 christos <christos@NetBSD.org>

Recognize extended attribute headers and warn about them since we are not
currently handling them.


# d653d57c 09-Aug-2012 christos <christos@NetBSD.org>

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 negati

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

show more ...


# da4f7877 20-Mar-2012 matt <matt@NetBSD.org>

Use C89 function definitions


# ce978720 03-Nov-2011 christos <christos@NetBSD.org>

Accept -X -


# 990d25a9 14-Feb-2009 lukem <lukem@NetBSD.org>

fix -Wsign-compare issues


# 932c7ae2 24-Feb-2008 joerg <joerg@NetBSD.org>

Kill pre-4.4BSD compat code.


# 702d1ca5 23-Apr-2007 christos <christos@NetBSD.org>

PR/36194: Greg A. Woods: add a '-V' flag to pax for verbose summary without
listing (and other minor fixes)


# ee17e957 18-Mar-2006 christos <christos@NetBSD.org>

Coverity CID 343: Rework code so that we don't write after the end of the
array. The end effect is the same though.


# cdec4ac1 11-Feb-2006 dsl <dsl@NetBSD.org>

Change all the 'return(x)' to 'return c'.
Makes some other searches I want to do a bit easier.


# 71c0f678 24-Apr-2005 christos <christos@NetBSD.org>

PR/20071: Perry Metzger: --extract handling is broken. This patch fixes
Perry's example.


# 128abffc 20-Feb-2005 christos <christos@NetBSD.org>

The quagga-0.98.2 tar archive is busted. It was created with an old tar
program, and then someone appended to it a ustar record. Detect this and
warn, but don't treat it as an error.


# 7404af49 17-Oct-2004 dsl <dsl@NetBSD.org>

Improve error reporting for invalid tar archives.


# 6885f6ba 26-Sep-2004 christos <christos@NetBSD.org>

In GNU-tar mode, don't split filenames to prefix+name because GNU tar does
not honor it.


# d980bf34 22-Sep-2004 christos <christos@NetBSD.org>

Keep track of the length of the gnu long name/link hack, so that
we can append to it. Modify the code so that file_write is re-entrant,
even in the gnu long name/link hack.

The old code assumed that

Keep track of the length of the gnu long name/link hack, so that
we can append to it. Modify the code so that file_write is re-entrant,
even in the gnu long name/link hack.

The old code assumed that the buffer already contained the necessary
blocks to satisfy the read file request that contained the long
filename. This is not always the case, specially when we are dealing
with pipes which do shorter reads, thus having more probability
that a long file name will fall across a buffer boundary.

To reproduce, create a tar archive with a lot of gnu-long-names
(pkgsrc/devel/libsigc++2 is a good example), do a tar -tf to get
a list of filenames, compress it and do a tar -tzf to get another
list of the filenames. Notice that the two lists differ.

show more ...


# 71f73d16 14-Jul-2004 christos <christos@NetBSD.org>

- Grr! unterminated buffer string in exclude destination buffer
- fix isfoo() ctype macros to take unsigned char.


# 0deda961 16-Jun-2004 christos <christos@NetBSD.org>

PR/25934: Dieter Baron: hard links with long names still fail.
As mentioned in the previous commit, the switch statement in the longlink()
needed simplification and it was a bit incorrect. Only depen

PR/25934: Dieter Baron: hard links with long names still fail.
As mentioned in the previous commit, the switch statement in the longlink()
needed simplification and it was a bit incorrect. Only depend on the passed
type to determine what kind of gnu longlink to produce. Don't try to deduce
it from the archive file type.

show more ...


# 393b592b 15-Jun-2004 christos <christos@NetBSD.org>

PR/25934: Dieter Baron: tar and hardlinks with long filenames don't work.
- always put the @LongLink tag on the name, not the long-link name.
- pass in what type of long name record we want to create

PR/25934: Dieter Baron: tar and hardlinks with long filenames don't work.
- always put the @LongLink tag on the name, not the long-link name.
- pass in what type of long name record we want to create; one for long-name
or long-link name.
XXX: We should get rid of the switch too.

show more ...


# 44eb0cca 15-Jun-2004 christos <christos@NetBSD.org>

Restructure the code to make it more readable. No functional changes.


# 5820cbfa 11-May-2004 christos <christos@NetBSD.org>

Welcome to WARNS=3


# 57c1f1cf 25-Apr-2004 christos <christos@NetBSD.org>

PR/25299: grant beattie: 1.5.3/i386 kernel set archives confuse -current pax
PR/25310: Juan RP: tar can't unpack MS-DOS gzip files correctly


1234