Paul Eggert
133a9e5b86
Initial revision
1999-08-08 10:12:55 +00:00
Paul Eggert
ed88882cf9
Version 1.13.5
1999-07-20 19:55:35 +00:00
Paul Eggert
2ca2d1cb99
(new_volume): Invoke apply_delayed_set_stat before exiting.
1999-07-20 19:48:30 +00:00
Paul Eggert
1f27dca976
(decode_options): ERROR ((TAREXIT_FAILURE, ... -> FATAL_ERROR ((0,
...
for consistency.
1999-07-20 19:48:30 +00:00
Paul Eggert
653e9784d3
version 1.13.4
1999-07-20 07:09:27 +00:00
Paul Eggert
9cb6f5c466
this matches historical practice.
...
(unlink_destination): New function, which checks for unlink failures.
(maybe_recoverable): Stay quiet if -U.
(extract_archive): Use O_EXCL if unlink_first_option.
Report unlink failures.
Use HAVE_SYMLINK, not S_ISLNK, to determine whether symlink exists.
Use HAVE_MKFIFO || defined mkfifo, not S_ISFIFO, to determine whether
mkfifo exists.
1999-07-20 07:09:27 +00:00
Paul Eggert
52eb0695e8
Remove S_IS* ifdefs.
1999-07-20 07:09:27 +00:00
Paul Eggert
db2d22cd20
(rmt_open__): Remove typo that caused us to omit the first char
...
of the basename.
1999-07-20 07:09:27 +00:00
Paul Eggert
fbc8201238
(extract_mangle): Replace #ifdef S_ISLNK with #ifdef HAVE_SYMLINK.
1999-07-20 07:09:27 +00:00
Paul Eggert
277f69debf
(dump_file): Use HAVE_READLINK, not S_ISLNK, to determine whether to invoke
...
readlink.
1999-07-20 07:09:27 +00:00
Paul Eggert
9d681f8130
version 1.13.3
1999-07-17 01:49:35 +00:00
Paul Eggert
6600451136
A path name is excluded if any of its file name components matches an
...
excluded pattern, even if the path name was specified on the command line.
1999-07-17 01:49:35 +00:00
Paul Eggert
8ae9f94ce2
(update_archive): Exclude pathnames if any of their components are excluded.
1999-07-17 01:49:35 +00:00
Paul Eggert
d8f0da985a
(total_written): Remove; replaced with prev_written + bytes_written.
...
(prev_written): New var.
(init_total_written): New function.
(print_total_written): Use TARLONG_FORMAT instead of print_tarlong.
1999-07-17 01:49:35 +00:00
Paul Eggert
be4c265a8d
(read_and): Exclude pathnames if any of their components are excluded.
...
(from_oct): Use C quoting style for error; omit trailing nuls.
1999-07-17 01:49:35 +00:00
Paul Eggert
617f136b46
(decode_options): Set newer_time_option to TYPE_MINIMUM, so that
...
negative timestamps are handled correctly.
Replace invocations of xstrtol and xstrtoul with xstrtoumax, for
uniformity (and so that we don't need to have the other fns).
(main): Remove call to init_total_written; no longer needed.
1999-07-17 01:49:35 +00:00
Paul Eggert
a0c7ce6e37
(create_archive): Exclude pathnames if any of their components are
...
excluded.
1999-07-17 01:49:35 +00:00
Paul Eggert
48bec1274c
version 1.13.2
1999-07-14 15:17:06 +00:00
Paul Eggert
6c48e00730
tar-bugs@gnu.org -> bug-tar@gnu.org
1999-07-14 15:13:25 +00:00
Paul Eggert
9e15f49bd0
(usage): tar-bugs@gnu.org -> bug-tar@gnu.org
1999-07-14 15:13:25 +00:00
Paul Eggert
803f861392
Version 1.13.1
1999-07-12 13:28:36 +00:00
Paul Eggert
fbc29baad9
(start_header): Do not assume S_IFMT is defined.
...
(dump_file): Remove unnecessary check for screwy apollo lossage.
Do not assume S_IFBLK and S_IFCHR are defined.
1999-07-12 13:03:58 +00:00
Paul Eggert
de1db1ed96
(is_regular_file): Don't succeed on files that we can't access due to
...
permissions problems.
(open_archive): Fix wording on fatal error message.
Don't bother to stat /dev/null if the archive is not a character
special device.
1999-07-12 13:03:58 +00:00
Paul Eggert
6a8c91fef3
(extract_archive): Test whether S_IFCHR and S_IFBLK are nonzero,
...
not whether they are defined, for consistency with other tests.
1999-07-12 13:03:58 +00:00
Paul Eggert
2016526b1a
(decode_header): Do not assume that S_IFBLK and S_IFCHR are defined.
1999-07-12 13:03:58 +00:00
Paul Eggert
4dd9bd50bd
(append_file): Open the file before statting it, to avoid a race.
...
Complain about file shrinkage only when we reach EOF.
1999-07-12 13:03:58 +00:00
Paul Eggert
9c540db933
Bump date to 07-08.
1999-07-08 04:09:22 +00:00
Paul Eggert
508b2ae13f
Initial revision
1999-07-08 03:45:21 +00:00
Paul Eggert
d100b4033b
Include safe-read.h.
1999-07-08 03:45:21 +00:00
Paul Eggert
65fda730cf
Include safe-read.h instead of full-write.h.
1999-07-08 03:45:21 +00:00
Paul Eggert
8bbacf0b4f
Include basename.h, save-read.h.
...
(rmt_open__): Use base_name to compute base name.
1999-07-08 03:45:21 +00:00
Paul Eggert
5129abee27
(safe_read): New decl.
1999-07-08 03:45:21 +00:00
Paul Eggert
7962e1901b
(read_and): Use excluded_filename instead of check_exclude.
...
Check base name of incoming file name, not entire file name, when
deciding whether to exclude it.
1999-07-08 03:45:21 +00:00
Paul Eggert
0a42307c1d
(finish_sparse_file): Use excluded_filename instead of check_exclude.
...
Don't bother to stat excluded file names.
1999-07-08 03:45:21 +00:00
Paul Eggert
8e8acfbc97
(exclude_pool, exclude_pool_size, allocated_exclude_pool_size,
...
simple_exclude_array, simple_excludes, allocated_simple_excludes,
pattern_exclude_array, pattern_excludes, allocated_pattern_excludes,
add_exclude, add_exclude_file, check_exclude): Remove; now done in
../lib/exclude.c.
1999-07-08 03:45:21 +00:00
Paul Eggert
07f380748c
(decode_options): Initialize `excluded'.
...
Use new add_exclude_file and add_exclude functions.
1999-07-08 03:45:21 +00:00
Paul Eggert
bb91f1ef17
Initial revision
1999-07-07 05:59:52 +00:00
Paul Eggert
45e6cee836
Update date.
1999-07-05 06:54:49 +00:00
Paul Eggert
d46735235b
Rename full_read to safe_read.
1999-07-05 06:47:59 +00:00
Paul Eggert
bb9f6be7c1
Include full-write.h.
1999-07-05 06:47:59 +00:00
Paul Eggert
7e12b98765
Update release date.
1999-07-04 07:21:30 +00:00
Paul Eggert
a9d934b734
version 1.13 news
1999-07-03 05:00:55 +00:00
Paul Eggert
e48983900d
(EXTRA_DIST): Add mktime.m4.
...
(Makefile.am): Remove.
1999-07-03 01:46:00 +00:00
Paul Eggert
a96991da3e
Initial revision
1999-07-03 01:44:37 +00:00
Paul Eggert
a8c32ecff2
Include signal.h.
...
(SIGCHLD): Define to SIGCLD if SIGCLD is defined but SIGCHLD is not.
(main): Ensure SIGCHLD is not ignored, so that we can fork and wait.
1999-07-03 00:00:19 +00:00
Paul Eggert
6f1783ad43
(BACKUP_OPTION, DELETE_OPTION, EXCLUDE_OPTION, GROUP_OPTION,
...
MODE_OPTION, NEWER_MTIME_OPTION, NO_RECURSE_OPTION, NULL_OPTION,
OWNER_OPTION, POSIX_OPTION, PRESERVE_OPTION, RECORD_SIZE_OPTION,
RSH_COMMAND_OPTION, SUFFIX_OPTION, USE_COMPRESS_PROGRAM_OPTION,
VOLNO_FILE_OPTION, OBSOLETE_ABSOLUTE_NAMES, OBSOLETE_BLOCK_COMPRESS,
OBSOLETE_BLOCKING_FACTOR, OBSOLETE_BLOCK_NUMBER,
OBSOLETE_READ_FULL_RECORDS, OBSOLETE_TOUCH, OBSOLETE_VERSION_CONTROL):
Make sure they can't be valid chars, so they don't overlap with char codes.
Use an enum instead of a lot of #defines.
(long_options, main, usage): Remove --ending-file option.
(OPTION_STRING): Remove -E.
1999-07-02 21:33:51 +00:00
Paul Eggert
bc88be110b
Don't include <ctype.h>; system.h already does this.
...
(ISODIGIT, ISSPACE): Remove; now in system.h.
(read_and): Excise ending_file_option.
(decode_header): No need to AND mode with 07777; MODE_FROM_OCT
does this now.
(from_oct): Cast ISSPACE arg to unsigned char.
(mode_from_oct): Translate modes from external to internal form.
Do not complain about unrecognized mode bits.
(decode_mode): Do not assume mode bits have traditional Unix values.
1999-07-02 21:25:09 +00:00
Paul Eggert
db6dc02fa8
(rmt_lseek__): Convert lseek whence values to portable integers on the wire.
1999-07-02 21:25:09 +00:00
Paul Eggert
d091cd947a
(main): Convert lseek whence values to portable integers on the wire.
...
Check for whence values out of range.
1999-07-02 21:25:09 +00:00
Paul Eggert
0f32adce25
(extr_init, make_directories, extract_archive):
...
Do not assume mode bits have traditional Unix values.
(set_mode): Use %04 not %0.4 format.
(extract_sparse_file): Do not use data_block uninitialized.
Check for lseek failures; use portable lseek whence values.
1999-07-02 21:25:09 +00:00