Paul Eggert
99dc4251f9
(child_open_for_compress): Use portable modes.
...
(child_open_for_uncompress, open_archive): Likewise.
(backspace_output): Use portable whence values.
(close_archive): Likewise. Remove ending_file_option.
1999-07-02 06:08:46 +00:00
Paul Eggert
18af5f60df
version 1.12.64016
1999-07-01 21:01:44 +00:00
Paul Eggert
aa985330d5
\a doesn't work with msgfmt.
...
Fix copyright notice.
1999-07-01 21:01:44 +00:00
Paul Eggert
6290150c47
Fix copyright notice.
1999-07-01 21:01:44 +00:00
Paul Eggert
1521a94b11
Handle EINTR correctly; use STDIN_FILENO instead of 0, etc.
1999-06-29 02:26:25 +00:00
Paul Eggert
5cff6c76e7
Describe changes since 1.12.
1999-06-29 02:26:25 +00:00
Paul Eggert
f6db0ba34e
Add lib/argmatch.c, lib/error.c lib/getopt.c,
...
lib/xmalloc.c, src/arith.c, src/misc.c.
1999-06-29 02:26:25 +00:00
Paul Eggert
22954a6f8a
ANSIfy.
1999-06-29 02:26:25 +00:00
Paul Eggert
efd8cb3446
1.12.64014
1999-06-25 23:32:39 +00:00
Paul Eggert
ee734033e8
(write_archive_buffer): New function.
...
(child_open_for_compress, flush_write, flush_read): Use it to write
buffers.
(open_archive): Report error if fstat of archive fails.
Improve efficiency of check for /dev/null.
Also, fix some corner cases with remote archives and /dev/null checking.
(close_archive): Test for input fifo only if not remote.
Truncate output archive only if it's not remote.
1999-06-25 23:28:08 +00:00
Paul Eggert
cb562d7194
Initial revision
1999-06-21 00:02:15 +00:00
Paul Eggert
4c88ea8619
version 1.12.64013
1999-06-19 06:19:27 +00:00
Paul Eggert
805b08cf02
(to_oct): Prepend leading zeros, not spaces.
...
Output a trailing NUL unless the value won't fit without it;
this is backward compatible with Unix tar (and with GNU Emacs).
(finish_header): No need to append NUL to chksum, now that
to_oct is doing it.
1999-06-19 06:19:27 +00:00
Paul Eggert
ec424c77a9
Move include of backupfile.h to common.h.
1999-06-16 12:44:52 +00:00
Paul Eggert
f8baeb3fa0
Bump version.
1999-06-16 11:39:30 +00:00
Paul Eggert
72adbbda36
(backup_type): Remove decl; backupfile.h now has it.
...
(intconv): Remove; use xstrto* fns instead.
("xstrtol.h"): Include.
(check_decimal): Remove.
(long_options, usage, OPTION_STRING, decode_options):
Remove -y, --bzip2, --unbzip2.
(decode_options): Use xget_version instead of get_version.
Check for overflow with -b and -L and RECORD_SIZE_OPTION.
Replace invocations of check_decimal with xstrtoumax.
1999-06-16 11:14:15 +00:00
Paul Eggert
1e62d7c228
Initial revision
1999-06-16 11:11:07 +00:00
Paul Eggert
bf78c421f0
Remove --bzip2.
...
Fix @xref typos reported by latest makeinfo.
1999-06-16 11:04:02 +00:00
Paul Eggert
69e400d4e0
(print_header): Change sizes of uform and gform from 11 to
...
UINTMAX_STRSIZE_BOUND.
1999-06-16 11:04:02 +00:00
Paul Eggert
ce00ef748c
GNU tar 1.13
1999-05-20 03:48:55 +00:00
Paul Eggert
3de1239635
Remove -y.
1999-05-16 02:43:22 +00:00
Paul Eggert
78e6911db8
Initial revision
1999-04-19 02:43:16 +00:00
Paul Eggert
f4f967b626
Bump version.
1999-04-09 22:40:42 +00:00
Paul Eggert
aafb997b09
Version 1.12.64010
1999-03-22 22:10:51 +00:00
Paul Eggert
f31b9d842b
Include <quotearg.h>.
...
(from_oct): Add forward decl.
(read_header): Return HEADER_FAILURE if we can't parse the checksum.
(from_oct): Report an error only if TYPE is nonzero.
Quote any funny characters in bad header.
1999-03-22 22:06:22 +00:00
Paul Eggert
ed87a12769
version 1.12.64009
1999-03-20 11:50:30 +00:00
Paul Eggert
f46de402ef
Update version number.
1999-03-18 07:25:29 +00:00
Paul Eggert
13140bcaf9
Remove --with-included-malloc.
...
Upgrade version numbers of build software.
1999-03-18 07:20:42 +00:00
Paul Eggert
0e1fcd0959
Fix bug-report addr.
1999-03-18 07:20:42 +00:00
Paul Eggert
0e3b1c9291
Update to 1.12.64007.
1999-03-08 07:51:45 +00:00
Paul Eggert
03863d011c
1.12.64006
1999-03-02 00:10:11 +00:00
Paul Eggert
13617c42d8
(to_oct): New parameter substitute, giving a substitute value to use
...
when the original value is out of range. Do not append a space to the
output; modern tars don't. When a value is out of range, specify the
maximum value, not the number of bits.
(GID_NOBODY, UID_NOBODY): New macros.
(gid_to_oct, uid_to_oct): Use them as substitutes.
(finish_header): Do not assume that UINTMAX_TO_OCT appends a space.
(dump_file): Check whether the file changed as we read it.
1999-03-02 00:10:11 +00:00
Paul Eggert
00a2b4708f
(main): Remove suspicious AIX/386 code.
1999-03-02 00:10:11 +00:00
Paul Eggert
545ec1a3fa
(gid_from_oct, major_from_oct, minor_from_oct, mode_from_oct, off_from_oct,
...
size_from_oct, time_from_oct, uid_from_oct, uintmax_from_oct):
Use TYPE_MAXIMUM instead of macros like OFF_MAX, which are not reliable
(e.g. OFF_MAX in AIX 4.2 is incorrect).
1999-03-02 00:10:11 +00:00
Paul Eggert
971cfed8d9
Version 1.12.64005
1999-02-20 06:04:28 +00:00
Paul Eggert
dcf34d8c4a
Add --bzip2, --bunzip2 options.
1999-02-20 06:04:28 +00:00
Paul Eggert
f561403bad
(long_options, usage): Prefer --unbzip2 to --bunzip2.
1999-02-20 06:04:28 +00:00
Paul Eggert
16368da655
Update copyright.
1999-02-01 08:10:25 +00:00
Paul Eggert
006ccbe408
1.12.64004
1999-02-01 08:02:16 +00:00
Paul Eggert
6ccb513321
(long_options, usage, OPTION_STRING, decode_options):
...
Add -y or --bzip2 or --bunzip2 option.
1999-02-01 07:51:19 +00:00
Paul Eggert
7381ee26dd
(extract_archive): Fix bug when extracting sparse files: they were
...
trashing the tar file header.
1999-02-01 07:51:19 +00:00
Paul Eggert
2e4d78d856
(cached_no_such_uname, cached_no_such_gname, cached_no_such_uid,
...
cached_no_such_gid): New vars.
(uid_to_uname, gid_to_gname, uname_to_uid, gname_to_gid):
Cache failures, too.
1999-01-31 02:53:47 +00:00
Paul Eggert
562d543b2d
(decode_options): Don't pass names longer than UNAME_FIELD_SIZE to
...
uname_to_uid, as it messes up the cache. Similarly for gname_to_uid.
1999-01-31 02:52:16 +00:00
Paul Eggert
89a1608bd4
version 1.12.64003
1999-01-28 00:29:59 +00:00
Paul Eggert
5019d3b2d9
(backspace_output, close_archive): Cast rmtlseek position arg to off_t,
...
for benefit of K&R compilers with long long.
1999-01-28 00:28:41 +00:00
Paul Eggert
3b34cd8be3
Version 1.12.64002
1999-01-27 20:45:26 +00:00
Paul Eggert
3ca6dbbb22
(gid_to_oct, major_to_oct, minor_to_oct, mode_to_oct, off_to_oct,
...
size_to_oct, time_to_oct, uid_to_oct): Cast value to uintmax_t, for
benefit of pre-ANSI compilers with long long.
1999-01-27 20:42:30 +00:00
Paul Eggert
c7f56e640d
(gid_from_oct, major_from_oct, minor_from_oct, mode_from_oct,
...
off_from_oct, size_from_oct, time_from_oct, uid_from_oct):
Cast limit to uintmax_t, for
benefit of pre-ANSI compilers with long long.
1999-01-27 20:42:30 +00:00
Paul Eggert
d434121129
GNU fileutils 4.0i
1999-01-25 14:09:30 +00:00
Paul Eggert
ad3e6fd9fa
Update version
1999-01-22 22:37:10 +00:00