]> Dogcows Code - chaz/tar/log
chaz/tar
23 years agoComment fix.
Paul Eggert [Tue, 28 Aug 2001 20:29:12 +0000 (20:29 +0000)] 
Comment fix.

23 years agoUpdate comment.
Paul Eggert [Tue, 28 Aug 2001 20:04:21 +0000 (20:04 +0000)] 
Update comment.

23 years agoDescribe changes a bit more carefully. Put copyright notice at end.
Paul Eggert [Mon, 27 Aug 2001 18:17:25 +0000 (18:17 +0000)] 
Describe changes a bit more carefully.  Put copyright notice at end.

23 years ago(out): Remove directory/subdirectory/file1, as the new semantics for
Paul Eggert [Mon, 27 Aug 2001 17:32:44 +0000 (17:32 +0000)] 
(out): Remove directory/subdirectory/file1, as the new semantics for
--exclude exclude it.

23 years ago(ANCHORED_OPTION, IGNORE_CASE_OPTION, NO_ANCHORED_OPTION,
Paul Eggert [Mon, 27 Aug 2001 14:41:56 +0000 (14:41 +0000)] 
(ANCHORED_OPTION, IGNORE_CASE_OPTION, NO_ANCHORED_OPTION,
NO_IGNORE_CASE_OPTION, NO_WILDCARDS_OPTION, NO_WILDCARDS_MATCH_SLASH_OPTION,
WILDCARDS_OPTION, WILDCARDS_MATCH_SLASH_OPTION): New enum values.

(long_options, usage, decode_options): Add support for --anchored,
--ignore-case, --no-anchored, --no-ignore-case, --no-wildcards,
--no-wildcards-match-slash, --recursion, --wildcards,
--wildcards-match-slash.

(decode_options): Implement the new way of interpreting exclude patterns.

(usage): --newer-mtime takes a DATE operand.  DATE may be a file name.

(OPTION_STRING, decode_options): Add -I, -y.  Currently these options
just print error messages suggesting alternatives.

(add_filtered_exclude): Remove.

23 years ago(base_name): Remove decl, as system.h now declares it.
Paul Eggert [Mon, 27 Aug 2001 14:35:06 +0000 (14:35 +0000)] 
(base_name): Remove decl, as system.h now declares it.

23 years ago(collect_and_sort_names): If ignore_failed_read_option, only warn about
Paul Eggert [Mon, 27 Aug 2001 14:34:24 +0000 (14:34 +0000)] 
(collect_and_sort_names): If ignore_failed_read_option, only warn about
stat errors.

(excluded_name): Now returns bool.  Simplify, as the fancy features are
now all in excluded_filename.

23 years ago(from_header): Do not issue a diagnostic if TYPE is zero.
Paul Eggert [Mon, 27 Aug 2001 14:32:51 +0000 (14:32 +0000)] 
(from_header): Do not issue a diagnostic if TYPE is zero.
However, check for error even for '-' or '+' case.

(print_header): Try parsing uids and gids as unsigned integers first,
and as a uid_t or gid_t only if that fails.  This adds support for
listing positive uids and gids that are greater than UID_MAX and
GID_MAX.

23 years ago(struct delayed_symlinks, extract_archive, apply_delayed_symlinks):
Paul Eggert [Mon, 27 Aug 2001 14:27:54 +0000 (14:27 +0000)] 
(struct delayed_symlinks, extract_archive, apply_delayed_symlinks):
Support hard links to symbolic links.

(struct delayed_symlink): Remove 'names' member, replacing it with
'sources' and 'target' member.  All uses changed.

(struct string_list): New type.

(delayed_set_stat, extract_archive): Use offsetof when computing sizes
for struct hack; this avoids wasted space in some cases.

(extract_archive): Fix test for absolute pathnames and/or "..".
Use link_error to report errors for links.
Remove redundant trailing '/' at "really_dir", for all uses, not
just before invoking mkdir.
If overwriting old files, do not worry so much about existing directories.
Fix mode computation in the case where the directory exists.

(apply_delayed_symlinks): If we can't make a hard link to a symbolic
link, make a copy of the symbolic link.

23 years ago(new_volume): Stop if the script exits with an error.
Paul Eggert [Mon, 27 Aug 2001 14:14:17 +0000 (14:14 +0000)] 
(new_volume): Stop if the script exits with an error.

23 years ago(jm_AC_PREREQ_XSTRTOUMAX): Remove jm_AC_HEADER_INTTYPES_H, as it
Paul Eggert [Mon, 27 Aug 2001 14:13:22 +0000 (14:13 +0000)] 
(jm_AC_PREREQ_XSTRTOUMAX): Remove jm_AC_HEADER_INTTYPES_H, as it
is now subsumed by autoconf.  Add inttypes.h.

23 years agoUpgrade to autoconf 2.5x.
Paul Eggert [Mon, 27 Aug 2001 14:09:08 +0000 (14:09 +0000)] 
Upgrade to autoconf 2.5x.

23 years ago(EXTRA_DIST): Add check-decl.m4, mbrtowc.m4.
Paul Eggert [Mon, 27 Aug 2001 14:06:01 +0000 (14:06 +0000)] 
(EXTRA_DIST): Add check-decl.m4, mbrtowc.m4.
Remove inttypes_h.m4, largefile.m4, mktime.m4.

23 years agoAdd copyright notice.
Paul Eggert [Mon, 27 Aug 2001 14:05:15 +0000 (14:05 +0000)] 
Add copyright notice.

(_DECLARE_XSTRTOL): Improve quality of diagnostic for
LONGINT_INVALID_SUFFIX_CHAR.

23 years agoInclude <string.h>; required for C99 since we use strlen.
Paul Eggert [Mon, 27 Aug 2001 00:41:28 +0000 (00:41 +0000)] 
Include <string.h>; required for C99 since we use strlen.

23 years agoPut leading '*' in direntry.
Paul Eggert [Mon, 27 Aug 2001 00:02:27 +0000 (00:02 +0000)] 
Put leading '*' in direntry.
Accommodate new gfdl sectioning.
New option --recursion (the default) that is the inverse of --no-recursion.

New options --anchored, --ignore-case, --wildcards,
--wildcards-match-slash, and their negations (e.g., --no-anchored).
Along with --recursion and --no-recursion, these control how exclude
patterns are interpreted.  The default interpretation of exclude
patterns is now --no-anchored --no-ignore-case --recursion
--wildcards --wildcards-match-slash.

23 years agoMore security problems fixes; new options for --exclude.
Paul Eggert [Sun, 26 Aug 2001 23:56:07 +0000 (23:56 +0000)] 
More security problems fixes; new options for --exclude.

23 years agoAdd copyright notice. ignfail.sh fails on some NFS hosts.
Paul Eggert [Sun, 26 Aug 2001 23:54:59 +0000 (23:54 +0000)] 
Add copyright notice.  ignfail.sh fails on some NFS hosts.

23 years agoInitial revision
Paul Eggert [Sun, 26 Aug 2001 07:20:05 +0000 (07:20 +0000)] 
Initial revision

23 years agoInitial revision
Paul Eggert [Sun, 26 Aug 2001 06:58:10 +0000 (06:58 +0000)] 
Initial revision

23 years agoserial 20
Paul Eggert [Thu, 23 Aug 2001 17:25:23 +0000 (17:25 +0000)] 
serial 20

23 years agoLatest textutils version
Paul Eggert [Thu, 23 Aug 2001 17:25:22 +0000 (17:25 +0000)] 
Latest textutils version

23 years agoserial 3
Paul Eggert [Thu, 23 Aug 2001 17:25:15 +0000 (17:25 +0000)] 
serial 3

23 years agoQuote the first argument in each use of AC_DEFUN.
Paul Eggert [Thu, 23 Aug 2001 17:25:13 +0000 (17:25 +0000)] 
Quote the first argument in each use of AC_DEFUN.

23 years agoInitial revision
Paul Eggert [Thu, 23 Aug 2001 17:25:11 +0000 (17:25 +0000)] 
Initial revision

23 years agoglibc version.
Paul Eggert [Tue, 21 Aug 2001 02:56:57 +0000 (02:56 +0000)] 
glibc version.

23 years agoInitial revision
Paul Eggert [Sat, 18 Aug 2001 15:59:02 +0000 (15:59 +0000)] 
Initial revision

23 years agoStart a new file, with Eric Roesinger's suggestion
Paul Eggert [Sun, 29 Jul 2001 03:52:57 +0000 (03:52 +0000)] 
Start a new file, with Eric Roesinger's suggestion

23 years agogettext 0.10.39
Paul Eggert [Tue, 24 Jul 2001 12:59:36 +0000 (12:59 +0000)] 
gettext 0.10.39

23 years ago(alloca): Arg is of type size_t, not unsigned.
Paul Eggert [Sun, 8 Jul 2001 19:08:50 +0000 (19:08 +0000)] 
(alloca): Arg is of type size_t, not unsigned.

23 years agoInitial revision
Paul Eggert [Fri, 18 May 2001 15:06:54 +0000 (15:06 +0000)] 
Initial revision

23 years ago(get_date): Initialize tm_isdst to -1 before invoking mktime the last time.
Paul Eggert [Sun, 8 Apr 2001 19:58:59 +0000 (19:58 +0000)] 
(get_date): Initialize tm_isdst to -1 before invoking mktime the last time.

23 years agoInitial revision
Paul Eggert [Tue, 3 Apr 2001 15:18:12 +0000 (15:18 +0000)] 
Initial revision

23 years agoFix wording one more time.
Paul Eggert [Sat, 17 Feb 2001 00:59:27 +0000 (00:59 +0000)] 
Fix wording one more time.

23 years agoCheck for mbstate_t, too.
Paul Eggert [Sat, 17 Feb 2001 00:35:11 +0000 (00:35 +0000)] 
Check for mbstate_t, too.

23 years agoUse shorter message.
Paul Eggert [Sat, 17 Feb 2001 00:19:57 +0000 (00:19 +0000)] 
Use shorter message.

23 years agoInitial revision
Paul Eggert [Sat, 17 Feb 2001 00:19:02 +0000 (00:19 +0000)] 
Initial revision

23 years ago(malloc): Undef before defining.
Paul Eggert [Fri, 16 Feb 2001 18:57:56 +0000 (18:57 +0000)] 
(malloc): Undef before defining.

23 years agoQuote error message.
Paul Eggert [Fri, 26 Jan 2001 11:13:28 +0000 (11:13 +0000)] 
Quote error message.

23 years ago-I has been withdrawn.
Paul Eggert [Sat, 13 Jan 2001 07:34:26 +0000 (07:34 +0000)] 
-I has been withdrawn.
-N can now take file names.

23 years ago(savedir): Remove size arg.
Paul Eggert [Sat, 13 Jan 2001 06:11:36 +0000 (06:11 +0000)] 
(savedir): Remove size arg.

23 years agoAdd @setchapternewpage odd.
Paul Eggert [Sat, 13 Jan 2001 06:04:48 +0000 (06:04 +0000)] 
Add @setchapternewpage odd.
Remove -I as an alias for -T, for now.
Add @dircategory.
Update copyright.  Remove "Published by".
Dates beginning with / or . are taken to be file names.

23 years agosystem.h now does time.h stuff.
Paul Eggert [Sat, 13 Jan 2001 05:59:29 +0000 (05:59 +0000)] 
system.h now does time.h stuff.

23 years agoMention that only English is supported.
Paul Eggert [Sat, 13 Jan 2001 05:59:29 +0000 (05:59 +0000)] 
Mention that only English is supported.
Show how to use "date" so that the output is acceptable to getdate.
Mention Z as an abbreviation for UTC.

23 years agoInitial revision
Paul Eggert [Sat, 13 Jan 2001 05:59:29 +0000 (05:59 +0000)] 
Initial revision

23 years agoInclude full-write.h.
Paul Eggert [Sat, 13 Jan 2001 05:59:29 +0000 (05:59 +0000)] 
Include full-write.h.
(main): Update copyright.

23 years agoInclude full-write.h.
Paul Eggert [Sat, 13 Jan 2001 05:59:29 +0000 (05:59 +0000)] 
Include full-write.h.

23 years agoInclude full-write.h, not safe-read.h.
Paul Eggert [Sat, 13 Jan 2001 05:59:29 +0000 (05:59 +0000)] 
Include full-write.h, not safe-read.h.
full_write returns size_t, with short writes meaning failure.
All callers changed.

23 years ago(time): Do not declare.
Paul Eggert [Sat, 13 Jan 2001 05:59:29 +0000 (05:59 +0000)] 
(time): Do not declare.
(usage): Remove -I as an alias for -T>
(OPTION_STRING): Remove -I.
(decode_options): Dates that look like an absolute path name,
or that start with '.', are presumed to be file names whose
dates are taken.
Remove 'I' as an aliase for 'T'.
Update copyright.

23 years ago(savedir): Remove size arg; it wasn't portable. All callers changed.
Paul Eggert [Sat, 13 Jan 2001 05:59:29 +0000 (05:59 +0000)] 
(savedir): Remove size arg; it wasn't portable.  All callers changed.

23 years ago(relativize): New function.
Paul Eggert [Sat, 13 Jan 2001 05:59:29 +0000 (05:59 +0000)] 
(relativize): New function.
> (relativize): New function, with much of old start_header's guts.
Handle filesystem prefixes.
(start_header): Use this new function.
(init_sparsearray): Don't bother to zero out the new array; it's not needed.
(deal_with_sparse): Fix array allocation bug.
(create_archive): Don't assume '/' is the only separator.
(dump_file): Likewise.
Don't worry about leading / in symlink targets.

23 years ago(name_next): Don't assume '/' is the only directory separator.
Paul Eggert [Sat, 13 Jan 2001 05:59:29 +0000 (05:59 +0000)] 
(name_next): Don't assume '/' is the only directory separator.
(namelist_match): Likewise.
(add_hierarchy_to_namelist): Remove dirsize arg.
Do not assume '/' is the only directory separator.
(new_name): Likewise.

23 years ago(_remdev): Look for / anywhere in Path.
Paul Eggert [Sat, 13 Jan 2001 05:59:29 +0000 (05:59 +0000)] 
(_remdev): Look for / anywhere in Path.

23 years ago(<time.h>): Do not include; system.h now does this.
Paul Eggert [Sat, 13 Jan 2001 05:59:29 +0000 (05:59 +0000)] 
(<time.h>): Do not include; system.h now does this.
(time): Remove decl; likewise.
(child_open_for_uncompress): Use new full_write semantics.
(flush_write): Use ISSLASH instead of testing for '/'.
(flush_read): Likewise.

23 years ago(<time.h>): Do not include; system.h now does this.
Paul Eggert [Sat, 13 Jan 2001 05:59:29 +0000 (05:59 +0000)] 
(<time.h>): Do not include; system.h now does this.
(make_directories): Skip filesystem prefixes.
Don't assume '/' is the only separator.
(extract_sparse_file): Use new full_write semantics.
On write error, return instead of invoking skip_file.
Do not free sparsearray; caller does this now.
(apply_nonancestor_delayed_set_stat): Do not assume '/' is the only
separator.
(extract_archive): Don't assume file name lengths fit in int.
Report what got stripped from member name; it might be more than '/'.
Use new full_write semantics.
Do not pass redundant trailing "/" to mkdir, as POSIX does not allow
mkdir to ignore it.
Do not report mkdir error if old_files_option == KEEP_OLD_FILES.

23 years agoInitial revision
Paul Eggert [Mon, 18 Dec 2000 23:43:51 +0000 (23:43 +0000)] 
Initial revision

23 years agoserial 3
Paul Eggert [Wed, 6 Dec 2000 11:04:44 +0000 (11:04 +0000)] 
serial 3

24 years agofileutils 4.0.32
Paul Eggert [Mon, 6 Nov 2000 18:41:02 +0000 (18:41 +0000)] 
fileutils 4.0.32

24 years agofileutils 4.0.35
Paul Eggert [Fri, 3 Nov 2000 08:44:01 +0000 (08:44 +0000)] 
fileutils 4.0.35

24 years agoDo not comment out all the code if we are using the GNU C library,
Paul Eggert [Fri, 3 Nov 2000 00:23:21 +0000 (00:23 +0000)] 
Do not comment out all the code if we are using the GNU C library,
because in some cases we are replacing buggy code in the GNU C library itself.

24 years agoGNU fileutils 4.0.35
Paul Eggert [Tue, 31 Oct 2000 07:08:05 +0000 (07:08 +0000)] 
GNU fileutils 4.0.35

24 years ago(FOLD): Do not assume that characters are unsigned.
Paul Eggert [Tue, 31 Oct 2000 06:02:53 +0000 (06:02 +0000)] 
(FOLD): Do not assume that characters are unsigned.

24 years agoInclude fnmatch.h.
Paul Eggert [Sun, 29 Oct 2000 22:37:07 +0000 (22:37 +0000)] 
Include fnmatch.h.

24 years agoUpdate email address, gzip 1.3 location, and Sparc GCC bugs.
Paul Eggert [Sun, 29 Oct 2000 22:23:21 +0000 (22:23 +0000)] 
Update email address, gzip 1.3 location, and Sparc GCC bugs.

24 years agoDescribe 1.13.18.
Paul Eggert [Sun, 29 Oct 2000 22:23:21 +0000 (22:23 +0000)] 
Describe 1.13.18.

24 years ago--no-recursion applies to extraction, too.
Paul Eggert [Sun, 29 Oct 2000 05:30:02 +0000 (05:30 +0000)] 
--no-recursion applies to extraction, too.

24 years ago(namelist_match, excluded_name): Do not match subfiles of a directory
Paul Eggert [Sun, 29 Oct 2000 05:30:02 +0000 (05:30 +0000)] 
(namelist_match, excluded_name): Do not match subfiles of a directory
if --no-recursion is specified.

24 years ago(dump_file): no_recurse_option -> ! recursion_option
Paul Eggert [Sun, 29 Oct 2000 05:30:02 +0000 (05:30 +0000)] 
(dump_file): no_recurse_option -> ! recursion_option

24 years ago(NO_RECURSE_OPTION): Remove.
Paul Eggert [Sun, 29 Oct 2000 05:30:02 +0000 (05:30 +0000)] 
(NO_RECURSE_OPTION): Remove.
(long_options): Have getopt set the --no-recursion flag.
(decode_options): Initialize recursion_option to FNM_LEADING_DIR.
Remove case for NO_RECURSE_OPTION.

24 years agoMerge changes from fileutils.
Paul Eggert [Sat, 28 Oct 2000 14:54:13 +0000 (14:54 +0000)] 
Merge changes from fileutils.

24 years ago(namelist_match): New function.
Paul Eggert [Sat, 28 Oct 2000 12:42:45 +0000 (12:42 +0000)] 
(namelist_match): New function.
(name_match, name_scan): Use it, to eliminate duplicate code.
(names_notfound): Remove special case for Amiga.

24 years ago(flush_read): If read_full_records_option, try to fill the input buffer,
Paul Eggert [Sat, 28 Oct 2000 05:54:42 +0000 (05:54 +0000)] 
(flush_read): If read_full_records_option, try to fill the input buffer,
as --delete -f - needs this.

24 years ago(decode_options): Check that volume label is not too long to overflow
Paul Eggert [Wed, 25 Oct 2000 05:21:06 +0000 (05:21 +0000)] 
(decode_options): Check that volume label is not too long to overflow
name in tar header block.

24 years ago(check_label_pattern): Make sure header name is a string before
Paul Eggert [Wed, 25 Oct 2000 05:21:06 +0000 (05:21 +0000)] 
(check_label_pattern): Make sure header name is a string before
passing it to fnmatch.
(init_volume_number): Check for global_volno overflow.
(new_volume): Check for global_volno overflow.

24 years ago(EXTRA_DIST): Add strerror_r.m4.
Paul Eggert [Wed, 25 Oct 2000 05:21:06 +0000 (05:21 +0000)] 
(EXTRA_DIST): Add strerror_r.m4.

24 years agoInclude <time.h>, since we invoke "time".
Paul Eggert [Tue, 24 Oct 2000 06:37:55 +0000 (06:37 +0000)] 
Include <time.h>, since we invoke "time".

24 years ago(prepend_default_options): Don't use NULL, for portability.
Paul Eggert [Tue, 24 Oct 2000 06:34:45 +0000 (06:34 +0000)] 
(prepend_default_options): Don't use NULL, for portability.

24 years agoAdd "working" to message.
Paul Eggert [Tue, 24 Oct 2000 06:32:34 +0000 (06:32 +0000)] 
Add "working" to message.

24 years agoNew file, taken from fileutils 4.0.27, with the
Paul Eggert [Tue, 24 Oct 2000 06:18:37 +0000 (06:18 +0000)] 
New file, taken from fileutils 4.0.27, with the
following changes: Use @sc where appropriate.  Document the ranges of
supported times more precisely.  Add Eggert to getdate authors.
Document old Latin 12m/12pm tradition.  Remove list of alphabetic time
zone names, as it wasn't correct and people shouldn't be relying on it
anyway.  Relative items also account for non-DST adjustments.  Fix
some misspellings.

24 years agoInitial revision
Paul Eggert [Tue, 24 Oct 2000 06:18:37 +0000 (06:18 +0000)] 
Initial revision

24 years agoInclude localedir.h.
Paul Eggert [Tue, 24 Oct 2000 06:18:37 +0000 (06:18 +0000)] 
Include localedir.h.
(main): Update copyright date to 2000.

24 years agoInclude localedir.h, prepargs.h.
Paul Eggert [Tue, 24 Oct 2000 06:18:37 +0000 (06:18 +0000)] 
Include localedir.h, prepargs.h.
(long_options): Now static.
(long_options, usage, decode_options): -j is now short for --bzip2,
and -I is now an alias for -T.
(decode_options, main): argv is not const pointer now.
(decode_options): Invoke prepend_default_options to support TAR_OPTIONS.
In diagnostic, mention the string that was the invalid blocking factor,
tape length, group, owner, or record size.
--delete is no longer incompatible with -f -, undoing 2000-01-07 change.
(main): Invoke extract_finish at end of extraction.

24 years agoInclude hash.h.
Paul Eggert [Tue, 24 Oct 2000 06:18:37 +0000 (06:18 +0000)] 
Include hash.h.
(gnu_list_name): Remove decl.
(struct link): Remove "next" member.
(linklist): Remove.
(start_header): Say "leading `FOO'" rather than "`FOO' prefix" for consistency
with other diagnostics.
(deal_with_sparse): Check for I/O error when closing the file.
(create_archive):
Do not allocate an array of size PATH_MAX, as PATH_MAX might be (size_t) -1.
Instead, allocate an array with the size that's needed.
(hash_link, compare_links): New functions.
(dump_file): Do not exhaust open file descriptors when descending deeply
into a directory, by using savedir rather than opendir/readdir.
Do not zero-fill the name buffer unnecessarily.
Hash the set of links already created, instead of using a linked list.
Fix some bugs in outputting sparse files which caused the sparse tables
to be incorrect.
When a file unexpectedly shrinks, output zeros rather than garbage.
Do not allocate an array of size PATH_MAX, as PATH_MAX might be (size_t) -1.
Instead, allocate an array with the size that's needed.

24 years agoFix comments.
Paul Eggert [Tue, 24 Oct 2000 06:18:37 +0000 (06:18 +0000)] 
Fix comments.

24 years agoAdd Free Documentation License. New section
Paul Eggert [Tue, 24 Oct 2000 06:18:37 +0000 (06:18 +0000)] 
Add Free Documentation License.  New section
"Overwrite Old Files", and revamp that section to make it easier to
follow.  "tar" -> "GNU tar" where appropriate.  Migrate getdate
documentation into getdate.texi.  Fix several minor typos.  Describe
TAR_OPTIONS.  Describe incompatibility between incremental backups and
--atime-preserve.  Describe incompatibility between --verify and other
options.  Mention that tar normally removes symbolic links rather than
following them, when extracting a file of the same name.

24 years ago(we_are_root): Now global.
Paul Eggert [Tue, 24 Oct 2000 06:18:37 +0000 (06:18 +0000)] 
(we_are_root): Now global.
(struct delayed_symlink): New type.
(delayed_symlink_head): New var.
(extr_init, fatal_exit):
Invoke extract_finish on fatal errors, not apply_delayed_set_stat.
(set_mode, set_stat): Pointer args are now const pointers.
(check_time): New function.
(set_stat): Warn if setting a file's timestamp to be the future.
(make_directories): Do not save and restore errno.
(maybe_recoverable): Set errno to ENOENT if we cannot make missing
intermediate directories.
(extract_archive):
Invoke apply_nonancestor_delayed_set_stat here, not in caller.
Extract potentially dangerous symbolic links more carefully, deferring their
creation until the end, and using a regular file placeholder in the meantime.
Do not remove trailing / and /. from file names.
Do not bother checking for ".." when checking whether a directory
loops back on itself, as loopbacks can occur with symlinks too.
Also, in that case, do not bother saving and restoring errno; just
set it to EEXIST.
(apply_nonancestor_delayed_set_stat): A prefix is a potential ancestor if
it ends in slash too (as well as ending in a char just before slash).
(apply_delayed_set_stat): Remove.
(apply_delayed_symlinks, extract_finish): New functions.

24 years ago(update_archive): Use skip_member.
Paul Eggert [Tue, 24 Oct 2000 06:18:37 +0000 (06:18 +0000)] 
(update_archive): Use skip_member.

24 years ago(read_and):
Paul Eggert [Tue, 24 Oct 2000 06:18:37 +0000 (06:18 +0000)] 
(read_and):
Do not invoke apply_nonancestor_delayed_set_stat;
DO_SOMETHING is now responsible for that.
Do not invoke apply_delayed_set_stat; our caller is now responsible for that.
(read_header): Use signed char instead of signed_char.
Prevent later references to current_header from
mistakenly treating it as an old GNU header.
(from_header): Quote invalid base-64 strings in diagnostics.
(time_from_header): Do not warn about future timestamps in archive;
check_time now does that.
(tartime): Fix off-by-one error when copying year if OLD_CTIME.
(print_header): Quote unknown file types.
(skip_member): New function, replacing skip_extended_headers and
now skipping the whole member instead of just the extended headers.
All callers changed.  This makes the code handle extended headers
uniformly, and fixes some bugs.

24 years ago(full_write): Some buggy drivers return 0 when you
Paul Eggert [Tue, 24 Oct 2000 06:18:37 +0000 (06:18 +0000)] 
(full_write): Some buggy drivers return 0 when you
fall off a device's end.  Detect this.

24 years ago(fnmatch): Fix some FNM_FILE_NAME and FNM_LEADING_DIR bugs,
Paul Eggert [Tue, 24 Oct 2000 06:18:37 +0000 (06:18 +0000)] 
(fnmatch): Fix some FNM_FILE_NAME and FNM_LEADING_DIR bugs,
e.g. fnmatch("d*/*1", "d/s/1", FNM_FILE_NAME) incorrectly yielded zero.

24 years ago(extract_mangle): Fix diagnostic with wrong number of %s'es.
Paul Eggert [Tue, 24 Oct 2000 06:18:37 +0000 (06:18 +0000)] 
(extract_mangle): Fix diagnostic with wrong number of %s'es.

24 years ago(base_name): Do not include basename.h; declare base_name
Paul Eggert [Tue, 24 Oct 2000 06:18:37 +0000 (06:18 +0000)] 
(base_name): Do not include basename.h; declare base_name
instead.
(rexec): Don't declare unless using it.
(do_command): Simplify signal-handling code slightly.

24 years ago(_GNU_SOURCE): Remove; autoconf now does this.
Paul Eggert [Tue, 24 Oct 2000 06:18:37 +0000 (06:18 +0000)] 
(_GNU_SOURCE): Remove; autoconf now does this.
(child_open_for_compress, child_open_for_uncompress, close_archive):
Propagate any failure of the compression process back to "tar".
(open_archive, flush_write, flush_read, close_archive):
Do not allocate an array of size PATH_MAX, as PATH_MAX might be (size_t) -1.
Instead, allocate an array with the size that's needed.
(open_archive): Don't bother checking S_ISCHR of /dev/null.
(backspace_output): Don't try to backspace past start of archive.
(close_archive): Remove special case for DELETE_SUBCOMMAND.

24 years ago(EXTRA_DIST): Add decl.m4, error.m4, mbstate_t.m4, prereq.m4.
Paul Eggert [Tue, 24 Oct 2000 06:18:37 +0000 (06:18 +0000)] 
(EXTRA_DIST): Add decl.m4, error.m4, mbstate_t.m4, prereq.m4.
Remove signedchar.m4.

24 years ago(AC_FUNC_MATCH): Detect d*/*1 vs d/s/1 bug.
Paul Eggert [Tue, 24 Oct 2000 06:18:37 +0000 (06:18 +0000)] 
(AC_FUNC_MATCH): Detect d*/*1 vs d/s/1 bug.

24 years ago (_GNU_SOURCE): Remove; autoconf now does this.
Paul Eggert [Tue, 24 Oct 2000 06:18:37 +0000 (06:18 +0000)] 
 (_GNU_SOURCE): Remove; autoconf now does this.
Include <hash.h>.
(getpwuid, getgrgid): Declare only if system headers don't.
(gid_to_gname): Don't invoke setgrent.
(namelist): Now static, not global.
(nametail): New var.  All uses of namelast changed to use nametail,
with one extra level of indirection.
(name_gather): Use memcpy instead of strncpy + assignment of NUL.
(name_match): Set nametail too, when setting namelist to null.
(add_hierarchy_to_namelist): Change type of dir arg from char * to
struct name *, so that we don't have to look up the name again here.
Get change_dir from dir rather than as a separate arg.  Add dirsize arg,
and pass it along to get_directory_contents.  Remove unnecessary check
of directory type.
(new_name): Do not append a slash if PATH already ends in one.
(avoided_names, struct avoided_name): Remove.
(avoided_name_table): New var, replacing avoided_names.
(hash_avoided_name, compare_avoided_names): New function.
(add_avoided_name, is_avoided_name): Use hash table rather than linked list.

24 years agoMention the GNU C library.
Paul Eggert [Fri, 20 Oct 2000 17:33:17 +0000 (17:33 +0000)] 
Mention the GNU C library.

24 years agoAdd a couple more test cases to catch bugs in glibc 2.1.95.
Paul Eggert [Fri, 20 Oct 2000 05:27:04 +0000 (05:27 +0000)] 
Add a couple more test cases to catch bugs in glibc 2.1.95.

24 years ago(<limits.h>): Include if HAVE_LIMITS_H.
Paul Eggert [Tue, 17 Oct 2000 17:20:55 +0000 (17:20 +0000)] 
(<limits.h>): Include if HAVE_LIMITS_H.
(CHAR_BIT): Define if not defined.

24 years ago(<limits.h>): Do not include; human.h does it if needed.
Paul Eggert [Tue, 17 Oct 2000 17:20:55 +0000 (17:20 +0000)] 
(<limits.h>): Do not include; human.h does it if needed.
(CHAR_BIT): Remove.

This page took 0.062152 seconds and 4 git commands to generate.