Commit Graph

19 Commits

Author SHA1 Message Date
archie
8c7020c3b6 Fix typo for the flag `--ungzip'' which should have been `--gunzip''
as is documented in the man page.  Retain the older mistaken version
of the flag for backwards compatibility in case anybody is using it.
Add $FreeBSD$ tag as cvs requires it.

PR:		gnu/7800
2000-01-24 21:38:18 +00:00
peter
d60898ec2f Handle byte counts for >2G archives
PR:		11389
Submitted by:	Adrian Chadd <adrian@FreeBSD.org>
1999-04-29 19:59:24 +00:00
imp
296200fa40 Use braces to avoid potentially ambiguous else clause.
main's return type is int not void.

Reviewed by: obrien and chuckr
1999-04-25 22:14:06 +00:00
obrien
d21e84f56a Add new -y/--bzip2/--bunzip2 flag. With all the ports that are going to
bzip2 as the compression mechanism, this makes life easier.

Obtained from:	bzip2 website
1999-03-17 12:09:31 +00:00
obrien
f35509ca7e Fix white-space spamming. 1999-02-08 01:32:04 +00:00
nectar
607ec35706 fixed: tar will extract file even if -C command fails
tar now exits with new exit code EX_BADDIR after a failed chdir()
in name_next(), name_match(), and name_from_list().
PR:		bin/2394
Submitted by:	Satoshi Asami <asami@freebsd.org>
1998-07-27 18:40:09 +00:00
danny
5a14da0288 Submitted by: Alex Nash
Style nit - extraneous space.
1998-02-04 07:04:44 +00:00
danny
03142f9572 PR: gnu/4385
Submitted by:	Robert Eckardt <roberte@MEP.Ruhr-Uni-Bochum.de>
Sundry man page fixes; handle Central European Summer Time (CEST);
usage fixes in line with man page fixes.
1998-01-05 11:32:39 +00:00
danny
e6c4a1774f Submitted by: Peter Hawkins <peter@clari.net.au>
Actually implement --norecurse as documented in the man page.
1997-12-30 10:23:09 +00:00
asami
11630c3c11 Typo, "%d" -> "%s". This caused tar to print things like
tar: Can't change to directory 282656 : No such file or directory
1997-01-07 10:43:40 +00:00
ache
bd309f22c0 Remove local fnmatch() copy, we now compatible with GNU fnmatch 1996-10-23 16:53:26 +00:00
ache
32aa915e62 Add setlocale LC_ALL 1995-10-26 10:59:43 +00:00
bde
2f142e92c8 Improve the handling of large minor numbers:
cpio/copyout.c:
Don't output a file if the major, minor or totality of its rdev would be
truncated.  Print a message about the skipped files to stderr but don't
report the error in the exit status.  cpio's abysmal error handling doesn't
allow continuing after an error, and the rdev checks had to be misplaced
to avoid the problem of returning an error code from routines that return
void.

pax/pax.h:
Use the system macros for major(), minor() and makedev().

pax already checks _all_ output conversions for overflow.  This has the
undesirable effect that failure to convert relatively useless fields
such as st_dev for regular files causes files not to be output.  pax
doesn't report exactly which fields couldn't be converted.

tar/create.c:
Don't output a file if the major or minor its rdev would be truncated.
Print a message about the skipped files to stderr and report the error
in the exit status.

tar/tar.c:
For not immediately fatal errors, exit with status 1, not the error count
(mod 256).

All:
Minor numbers are limited to 21 bits in pax's ustar format and to 18
bits in archives created by gnu tar (gnu tar wastes 3 bits for padding).
pax's and cpio's ustar format is incompatible with gnu tar's ustar
format for other reasons (see cpio/README).
1995-06-26 06:24:48 +00:00
rgrimes
8988b74eb8 Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
jkh
2fdc8f6375 Mods to tar (--fast-read) to cause it to stop looking for exact-matching
file specifications when they've been extracted (enabling you to get a file
fast if it occurs somewhere close to the front).
Submitted by:	Marc van Kempen <wmbfmk@urc.tue.nl>
1995-04-10 11:47:37 +00:00
ache
ac61a68440 Fix -C arg overriding when -T file used 1995-03-24 19:01:25 +00:00
ache
48f4200ecc Remove regex code, use -lgnuregex instead 1995-01-11 04:18:38 +00:00
jkh
1a734a03e0 Add Chris Demetriou's --unlink changes.
I know that I said earlier that this should be unconditional behaviour,
but I thought about it a little more and concluded that the principle of least
surprise dictates that I make it an option.
1994-06-28 07:12:43 +00:00
jkh
777d9e83b8 Updated GNU utilities 1993-06-18 04:22:21 +00:00