Commit Graph

120 Commits

Author SHA1 Message Date
Torsten Blum
cef6c97a61 Fix a typo ("-It Fl" to ".It Fl")
document the "-P" switch

Obtained from: the NetBSD bugs mailinglist
1995-10-25 02:17:44 +00:00
Bruce Evans
178d6c8706 Remove includes of the wrong ../Makefile.inc (one was commented out, the
other was in the wrong order).
1995-10-22 18:28:10 +00:00
Andrey A. Chernov
6de8ce1a74 Replace ctime by strftime %c to use national representation 1995-08-08 03:07:15 +00:00
Bruce Evans
d1e00e9390 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
Rodney W. Grimes
4399be3cbd Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
Jordan K. Hubbard
f0681de0c2 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
Andrey A. Chernov
09237e9da4 Fix -C arg overriding when -T file used 1995-03-24 19:01:25 +00:00
Andrey A. Chernov
cb850faba6 Fix sparse files handling
Submitted by: Alan Bawden <alan@curry.epilogue.com>
1995-03-18 17:45:13 +00:00
Andrey A. Chernov
6c5f92f17f Fix two quad_t casts, one reported by wcp@lpds.sublink.org 1995-02-26 23:48:51 +00:00
Jordan K. Hubbard
053e19c19e Fixed up the text a bit, attribute NetBSD properly. 1995-01-31 04:36:48 +00:00
Andreas Schulz
5992978871 Submitted by: Philippe Charnier <charnier@lirmm.fr>
Install the man page, now that we have one.
1995-01-29 02:16:01 +00:00
Jordan K. Hubbard
8f5738c194 Finally add a freakin' man page for tar!
Submitted by:	John F. Woods <jfw@jfwhome.funhouse.com>
Obtained from: NetBSD
1995-01-26 00:14:11 +00:00
Andrey A. Chernov
2e0ad30144 Remove regex code, use -lgnuregex instead 1995-01-11 04:18:38 +00:00
Jordan K. Hubbard
fb59d6ab65 __386BSD__ -> __FreeBSD__
I know that many of these entries are bogus and need to be revisited,
but let's get the tree working again for now and then do a pass through
looking at all the __FreeBSD__ entries, shall we?
1994-11-04 02:14:13 +00:00
Andrey A. Chernov
a73699e164 Back out part of ctype fixes, unneded with new ctype 1994-10-09 15:22:35 +00:00
Andrey A. Chernov
109de6c0ab Fix many problems with 8bit chars (sign extend in ctype macros)
Fix main problem with 8-bit chars in directories names: because
signed_sum left uninitialized, wrong checksum occurse
1994-10-07 13:13:32 +00:00
Jordan K. Hubbard
66b58bf8b3 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
Jordan K. Hubbard
60d5ec6677 Make tar static by default. Don't scream, you'll thank me for this
someday.
1994-06-15 19:16:04 +00:00
Nate Williams
4029d369d7 Cleaned up yacc problems that shouldn't have existed in the original port 1993-06-18 19:20:59 +00:00
Jordan K. Hubbard
b76095a430 Updated GNU utilities 1993-06-18 04:22:21 +00:00