freebsd-skq/gnu/usr.bin
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
..
as Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
awk Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
bc Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
binutils/gdb Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
cc Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
cpio Improve the handling of large minor numbers: 1995-06-26 06:24:48 +00:00
cvs Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
dc Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
dialog Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
diff Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
diff3 Fixed non-conflict errors that occur when changes made to the local files are 1995-02-20 18:47:18 +00:00
gdb Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
grep Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
groff Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
gzip Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
ld Add an "-m" flag to merge instead of replace the entries. We can 1995-06-24 10:08:44 +00:00
man Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
mkisofs Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
patch Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
perl Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
pr Updated to GNU textutils-1.9 1993-11-08 17:07:38 +00:00
ptx Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
rcs Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
sdiff Update to GNU diffutils 2.6 1993-11-12 07:05:40 +00:00
send-pr Add doc to SUBDIR 1995-01-16 17:49:20 +00:00
sort Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
tar Improve the handling of large minor numbers: 1995-06-26 06:24:48 +00:00
texinfo Convert the colon after (send-pr) into a period, so the info file can 1995-06-24 17:11:56 +00:00
yppush Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
Makefile Re-enabled cvs now that Rod is satisfied that it will work correctly. 1995-04-11 17:28:26 +00:00
Makefile.inc New files for relocated source code. 1994-01-30 00:31:51 +00:00