]> Dogcows Code - chaz/tar/log
chaz/tar
21 years agoInitial revision
Paul Eggert [Sat, 5 Jul 2003 20:04:48 +0000 (20:04 +0000)] 
Initial revision

21 years agoConvert to UTF-8.
Paul Eggert [Sat, 5 Jul 2003 08:24:55 +0000 (08:24 +0000)] 
Convert to UTF-8.
Don't include <print-copyr.h>.
(DEFAULT_PATTERN): Renamed from DEFAULT.
(ZEROS_PATTERN): Renamed from ZEROS.
(main): Use gettext to translate (C), not print_copyright.

21 years agoAdd comment about what other letters are used.
Paul Eggert [Sat, 5 Jul 2003 08:19:48 +0000 (08:19 +0000)] 
Add comment about what other letters are used.

21 years agoDo not include <print-copyr.h>.
Paul Eggert [Sat, 5 Jul 2003 08:18:46 +0000 (08:18 +0000)] 
Do not include <print-copyr.h>.
Include <getdate.h>.
(get_date): Remove decl.
(ATIME_PRESERVE_OPTION, CHECKPOINT_OPTION, FORCE_LOCAL_OPTION,
IGNORE_FAILED_READ_OPTION, INDEX_FILE_OPTION, NO_OVERWRITE_DIR_OPTION,
NUMERIC_OWNER_OPTION, RECURSIVE_UNLINK_OPTION, REMOVE_FILES_OPTION,
SHOW_OMITTED_DIRS_OPTION, TOTALS_OPTION): New constants.
(long_options, decode_options): Use them.
(OVERWRITE_DIR_OPTION): Remove.
(long_options): New options --index-file, --no-overwrite-dir.
Remove --overwrite-dir option.
(usage): Use PACKAGE_BUGREPORT.
(decode_options): Terminate new argv properly.
Use PACKAGE_NAME, PACKAGE_VERSION.
If verbose, report how we grokked any textual date option.
(main): Add support for index-file.

21 years agoUse newer form for bug report and version.
Paul Eggert [Sat, 5 Jul 2003 07:55:34 +0000 (07:55 +0000)] 
Use newer form for bug report and version.

21 years agoRemove PARAMS.
Paul Eggert [Sat, 5 Jul 2003 07:21:49 +0000 (07:21 +0000)] 
Remove PARAMS.

21 years agoDon't include print-copyr.h.
Paul Eggert [Sat, 5 Jul 2003 07:21:19 +0000 (07:21 +0000)] 
Don't include print-copyr.h.
(prepare_input_buffer): Renamed from prepare_record_buffer.
New arg FD.  All uses changed.
Do not read more than INT_MAX bytes at once,
since it breaks on some brain damaged Tru64 hosts.
Do not mix int and size_t pointers.  Divide size by two
when retrying instead of subtracting 1024; for speed.
(main): Use gettext to translate (C), not print_copyright.

21 years ago(namelist_match): Allow partial matches only if recursive.
Paul Eggert [Sat, 5 Jul 2003 07:17:20 +0000 (07:17 +0000)] 
(namelist_match): Allow partial matches only if recursive.
(hash_string_hasher): Renamed from hash_avoided_name.
(hash_string_compare): Renamed from compare_avoided_anames.
(hash_string_insert, hash_string_lookup): New functions.
(add_avoided_name, is_avoided_name): Use them.
(safer_name_suffix): New function.
(contains_dot_dot): Moved here from misc.c.  Now returns bool, not int.

21 years ago(read_and): Give full type for procedure arg.
Paul Eggert [Sat, 5 Jul 2003 07:00:54 +0000 (07:00 +0000)] 
(read_and): Give full type for procedure arg.
(read_header): Strip trailing slashes, setting current_trailing_slash.
(tartime): Avoid int overflow when printing year (!).
(print_header): New arg specifing block ordinal.  All uses changed.
Print link as 'h' type.  Give labels for long links and names.

21 years ago(we_are_root): Now bool, not int.
Paul Eggert [Sat, 5 Jul 2003 06:53:31 +0000 (06:53 +0000)] 
(we_are_root): Now bool, not int.
(check_time): Warn about implausibly old time stamps.
(set_stat): Use utimbuf, not stat_info.
(preprare_to_extract): New arg DIRECTORY.
(fill_in_sparse_array): Moved here from compare.c.
(extract_sparse_file): Now returns off_t, giving size left.
Truncate file at end.
(extract_archive): Use safer_name_suffix rather than rolling our own.
Use fill_in_sparse_array rather than rolling our own.
Strip trailing slashes more effectively.
Check for unsafe names.

21 years ago(relativize): Remove; replaced by safer_name_suffix.
Paul Eggert [Sat, 5 Jul 2003 06:43:30 +0000 (06:43 +0000)] 
(relativize): Remove; replaced by safer_name_suffix.
All callers changed.
(start_header): Clear devmajor and devminor fields, too.
(finish_header): New arg block_ordinal.
(init_sparsearray): Now extern.  Set sp_array_size to
SPARSES_IN_OLDGNU_HEADER if it is zero.
(dump_file): Keep link table as a hash.
Do not count "file changed as we read it" as a failure.

21 years ago(print_total_written): Adjust to new human.h interface.
Paul Eggert [Sat, 5 Jul 2003 06:19:54 +0000 (06:19 +0000)] 
(print_total_written): Adjust to new human.h interface.
(child_open_for_compress): Do not increase size to BLOCKSIZE.
(open_archive): Open index file name.
Strip trailng slahes from file names.
(flush_write): Set size to 0 if not saving names.
(flush_write, flush_read): Use safer_name_suffix rather than
inline code.

21 years ago(AUTOMAKE_OPTIONS): Remove.
Paul Eggert [Sat, 5 Jul 2003 01:04:08 +0000 (01:04 +0000)] 
(AUTOMAKE_OPTIONS): Remove.

21 years ago(EXTRA_DIST): Add alloca.m4, backupfile.m4, bison.m4, chown.m4,
Paul Eggert [Sat, 5 Jul 2003 00:59:16 +0000 (00:59 +0000)] 
(EXTRA_DIST): Add alloca.m4, backupfile.m4, bison.m4, chown.m4,
dirname.m4, dos.m4, exclude.m4, fileblocks.m4, ftruncate.m4,
getdate.m4, getopt.m4, hash.m4, human.m4, intdiv0.m4, intmax_t.m4,
inttypes_h.m4, inttypes-pri.m4, isc-posix.m4, lcown.m4, lib-ld.m4,
lib-link.m4, lib-prefix.m4, memset.m4, mktime.m4, modechange.m4,
nls.m4, onceonly.m4, pathmax.m4, po.m4, quotearg.m4, quote.m4,
rmdir.m4, safe-read.m4, safe-write.m4, save-cwd.m4, savedir.m4,
ssize_t.m4, stdbool.m4, stdint_h.m4, strcase.m4, strtoimax.m4,
strtoll.m4, strtol.m4, strtoull.m4, strtoul.m4, strtoumax.m4,
tm_gmtoff.m4, uintmax_t.m4, unlocked-io.m4, xalloc.m4, xgetcwd.m4,
xstrtol.m4.  Remove c-bs-a.m4, ccstdc.m4, check-decl.m4, decl.m4,
jm-mktime.m4, prereq.m4, xstrtoimax.m4.

21 years agoSwitch to new method for doing copyright notices.
Paul Eggert [Sat, 5 Jul 2003 00:46:14 +0000 (00:46 +0000)] 
Switch to new method for doing copyright notices.
Use @acronym instead of @sc where appropriate.
Remove empty examples.  Give a few more examples.

21 years agoConvert to UTF-8.
Paul Eggert [Fri, 4 Jul 2003 23:35:57 +0000 (23:35 +0000)] 
Convert to UTF-8.

21 years agoConvert to UTF-8.
Paul Eggert [Fri, 4 Jul 2003 23:32:57 +0000 (23:32 +0000)] 
Convert to UTF-8.

21 years agoConvert to UTF-8.
Paul Eggert [Fri, 4 Jul 2003 23:28:11 +0000 (23:28 +0000)] 
Convert to UTF-8.

21 years agoConvert to UTF-8.
Paul Eggert [Fri, 4 Jul 2003 23:25:38 +0000 (23:25 +0000)] 
Convert to UTF-8.

21 years agoSuggest Autoconf 2.57, Automake 1.7.5, Bison 1.875, gettext 0.12.1.
Paul Eggert [Fri, 4 Jul 2003 23:15:25 +0000 (23:15 +0000)] 
Suggest Autoconf 2.57, Automake 1.7.5, Bison 1.875, gettext 0.12.1.

21 years agoSuggest Autoconf 2.57, Automake 1.7.5, Bison 1.875.
Paul Eggert [Fri, 4 Jul 2003 23:08:20 +0000 (23:08 +0000)] 
Suggest Autoconf 2.57, Automake 1.7.5, Bison 1.875.

21 years agoAdd copyright notice.
Paul Eggert [Fri, 4 Jul 2003 18:06:51 +0000 (18:06 +0000)] 
Add copyright notice.

21 years agoInitial revision
Paul Eggert [Sat, 28 Jun 2003 21:17:38 +0000 (21:17 +0000)] 
Initial revision

21 years agoimport from gnulib
Paul Eggert [Wed, 4 Jun 2003 23:35:46 +0000 (23:35 +0000)] 
import from gnulib

21 years agoimport from gnulib
Paul Eggert [Sat, 5 Apr 2003 06:53:09 +0000 (06:53 +0000)] 
import from gnulib

21 years agoimport from gnulib
Paul Eggert [Mon, 10 Mar 2003 07:31:50 +0000 (07:31 +0000)] 
import from gnulib

21 years agoimport from gnulib
Paul Eggert [Fri, 10 Jan 2003 21:06:49 +0000 (21:06 +0000)] 
import from gnulib

21 years agoimport from gnulib
Paul Eggert [Wed, 8 Jan 2003 18:42:38 +0000 (18:42 +0000)] 
import from gnulib

21 years agoimport from gnulib
Paul Eggert [Fri, 6 Dec 2002 08:08:13 +0000 (08:08 +0000)] 
import from gnulib

21 years agoimport from gnulib
Paul Eggert [Thu, 5 Dec 2002 20:46:03 +0000 (20:46 +0000)] 
import from gnulib

22 years agoimport from gnulib
Paul Eggert [Fri, 22 Nov 2002 16:25:53 +0000 (16:25 +0000)] 
import from gnulib

22 years ago(print_copyright)
kaun [Fri, 2 Aug 2002 00:04:07 +0000 (00:04 +0000)] 
(print_copyright)
  - fix typo (use print_unicode_char, not print_unicode_success)

22 years ago(strtoll): Depend on HAVE_LONG_LONG, not HAVE_UNSIGNED_LONG_LONG.
Paul Eggert [Tue, 9 Jul 2002 17:40:33 +0000 (17:40 +0000)] 
(strtoll): Depend on HAVE_LONG_LONG, not HAVE_UNSIGNED_LONG_LONG.

22 years agoimport from gnulib
Paul Eggert [Wed, 26 Jun 2002 06:17:35 +0000 (06:17 +0000)] 
import from gnulib

22 years agocoreutils 5.0 version
Paul Eggert [Mon, 27 May 2002 20:05:03 +0000 (20:05 +0000)] 
coreutils 5.0 version

22 years agoSync with fileutils
Paul Eggert [Mon, 11 Feb 2002 14:28:35 +0000 (14:28 +0000)] 
Sync with fileutils

22 years agoSync with fileutils
Paul Eggert [Mon, 11 Feb 2002 14:28:09 +0000 (14:28 +0000)] 
Sync with fileutils

22 years agoallow using unicode
Paul Eggert [Sat, 26 Jan 2002 06:04:19 +0000 (06:04 +0000)] 
allow using unicode

22 years agoFrom textutils 2.1
Paul Eggert [Tue, 22 Jan 2002 07:43:55 +0000 (07:43 +0000)] 
From textutils 2.1

22 years agoSync with fileutils.
Paul Eggert [Wed, 16 Jan 2002 22:43:41 +0000 (22:43 +0000)] 
Sync with fileutils.

22 years agoSync with fileutils.
Paul Eggert [Wed, 19 Dec 2001 15:05:33 +0000 (15:05 +0000)] 
Sync with fileutils.

23 years ago(jm_AC_PREREQ_XSTRTOUMAX): Check for strtol and strtoimax,
Paul Eggert [Fri, 28 Sep 2001 17:53:12 +0000 (17:53 +0000)] 
(jm_AC_PREREQ_XSTRTOUMAX): Check for strtol and strtoimax,
as those declarations are made even in the unsigned case.

23 years ago(jm_AC_PREREQ_XSTRTOIMAX): Check for strtoul and strtoumax,
Paul Eggert [Fri, 28 Sep 2001 17:53:12 +0000 (17:53 +0000)] 
(jm_AC_PREREQ_XSTRTOIMAX): Check for strtoul and strtoumax,
as those declarations are made even in the signed case.

23 years ago(strtol): Do not declare if HAVE_DECL_STRTOL.
Paul Eggert [Fri, 28 Sep 2001 06:54:20 +0000 (06:54 +0000)] 
(strtol): Do not declare if HAVE_DECL_STRTOL.
(strtoul): Do not declare if HAVE_DECL_STRTOUL.
(strtoimax, strtoumax): Do not declare if already defined as a macro.

23 years agoInitial revision
Paul Eggert [Wed, 26 Sep 2001 20:54:08 +0000 (20:54 +0000)] 
Initial revision

23 years agojust ignore them silently.
Paul Eggert [Wed, 26 Sep 2001 20:53:42 +0000 (20:53 +0000)] 
just ignore them silently.

23 years ago1.13.25
Paul Eggert [Wed, 26 Sep 2001 20:31:11 +0000 (20:31 +0000)] 
1.13.25

23 years ago(read_header): Don't keep around extended name and link info
Paul Eggert [Wed, 26 Sep 2001 20:15:52 +0000 (20:15 +0000)] 
(read_header): Don't keep around extended name and link info
indefinitely; keep it only for the next file.  This fixes a bug
introduced in 1.13.24, and remove the need for some static variables.
Set recent_long_name and recent_long_link to zero if there were no
long links; this avoids a violation of ANSI C rules for pointers in
delete.c.

23 years agonew automake patch
Paul Eggert [Wed, 26 Sep 2001 20:07:51 +0000 (20:07 +0000)] 
new automake patch

23 years agoknow -> known
Paul Eggert [Wed, 26 Sep 2001 18:46:35 +0000 (18:46 +0000)] 
know -> known
From: Jim Meyering <jim@meyering.net>
Date: Wed, 26 Sep 2001 19:20:10 +0200

23 years agoInclude iconv.h before testing for EILSEQ.
Paul Eggert [Tue, 25 Sep 2001 22:52:27 +0000 (22:52 +0000)] 
Include iconv.h before testing for EILSEQ.

23 years ago(EILSEQ): Include <time.h> and <wchar.h> if <errno.h> does not define
Paul Eggert [Tue, 25 Sep 2001 18:17:36 +0000 (18:17 +0000)] 
(EILSEQ): Include <time.h> and <wchar.h> if <errno.h> does not define
EILSEQ, because BSD/OS 4.1 defines EILSEQ in <wchar.h>, which requires
<time.h>.  Define a replacement EILSEQ to be ENOENT, not EINVAL, since
callers may want to distinguish EINVAL and EILSEQ.

23 years ago(maybe_recoverable): Treat OVERWRITE_OLD_DIRS like DEFAULT_OLD_FILES.
Paul Eggert [Mon, 24 Sep 2001 18:58:52 +0000 (18:58 +0000)] 
(maybe_recoverable): Treat OVERWRITE_OLD_DIRS like DEFAULT_OLD_FILES.

23 years agoDon't assume we're using the included libintl.
Paul Eggert [Sun, 23 Sep 2001 06:40:35 +0000 (06:40 +0000)] 
Don't assume we're using the included libintl.

23 years agoVersion 1.13.24.
Paul Eggert [Sun, 23 Sep 2001 06:23:14 +0000 (06:23 +0000)] 
Version 1.13.24.

23 years agoAllocate one more byte than the size would indicate, since we're
Paul Eggert [Sun, 23 Sep 2001 06:18:20 +0000 (06:18 +0000)] 
Allocate one more byte than the size would indicate, since we're
null-terminating.

23 years ago(<libintl.h>): Do not include; no longer needed.
Paul Eggert [Sun, 23 Sep 2001 05:37:04 +0000 (05:37 +0000)] 
(<libintl.h>): Do not include; no longer needed.
(_): Remove; no longer needed.

23 years ago(write_archive_buffer, close_archive): If an archive is a socket,
Paul Eggert [Sun, 23 Sep 2001 05:03:42 +0000 (05:03 +0000)] 
(write_archive_buffer, close_archive): If an archive is a socket,
treat it like a FIFO.

23 years agoPut copyright notice into documentation.
Paul Eggert [Sat, 22 Sep 2001 00:47:09 +0000 (00:47 +0000)] 
Put copyright notice into documentation.

23 years agoInitial revision
Paul Eggert [Sat, 22 Sep 2001 00:47:09 +0000 (00:47 +0000)] 
Initial revision

23 years agoInclude print-copyr.h, not copysym.h.
Paul Eggert [Sat, 22 Sep 2001 00:47:09 +0000 (00:47 +0000)] 
Include print-copyr.h, not copysym.h.
(main): Use print_copyright, not copyright_symbol.

23 years agoInclude print-copyr.h, not copysym.h.
Paul Eggert [Sat, 22 Sep 2001 00:47:09 +0000 (00:47 +0000)] 
Include print-copyr.h, not copysym.h.
(decode_options): Use print_copyright, not copyright_symbol.
(OVERWRITE_DIR_OPTION): New constant.
(long_options, usage, decode_options): Add --overwrite-dir.

23 years ago(update_archive): Pass 0 to read_header.
Paul Eggert [Sat, 22 Sep 2001 00:47:09 +0000 (00:47 +0000)] 
(update_archive): Pass 0 to read_header.

23 years ago(records_read, records_written): New vars.
Paul Eggert [Sat, 22 Sep 2001 00:47:09 +0000 (00:47 +0000)] 
(records_read, records_written): New vars.
(write_archive_to_stdout): Now bool, not int.
(open_archive, flush_write, flush_read): Keep records_read and
records_written up to date.

23 years ago(recent_long_name, recent_long_link, recent_long_name_blocks,
Paul Eggert [Sat, 22 Sep 2001 00:47:09 +0000 (00:47 +0000)] 
(recent_long_name, recent_long_link, recent_long_name_blocks,
recent_long_link_blocks): New vars.
(read_and): Pass 0 to read_header.
(read_header): New arg RAW_EXTENDED_HEADERS.  Store away extended headers
into new vars.  Null-terminate incoming symbolic links.

23 years ago(extract_archive): When marking a directory to be updated after
Paul Eggert [Sat, 22 Sep 2001 00:47:09 +0000 (00:47 +0000)] 
(extract_archive): When marking a directory to be updated after
symlinks, stat all directories after it in the delayed-set-stat
list too, since they will be checked after symlinks.
Add support for --overwrite-dir.

23 years ago(EXTRA_DIST): Remove isc-posix.m4.
Paul Eggert [Sat, 22 Sep 2001 00:47:09 +0000 (00:47 +0000)] 
(EXTRA_DIST): Remove isc-posix.m4.

23 years ago(unicode_to_mb): Return int, not void. New arg for failure callback.
Paul Eggert [Fri, 21 Sep 2001 22:26:45 +0000 (22:26 +0000)] 
(unicode_to_mb): Return int, not void.  New arg for failure callback.
(print_unicode_success, print_unicode_failure): New decls.
(print_unicode_char): Return int, not void.

23 years ago(EILSEQ, ENOTSUP): New macros, if not defined by errno.h.
Paul Eggert [Fri, 21 Sep 2001 22:26:45 +0000 (22:26 +0000)] 
(EILSEQ, ENOTSUP): New macros, if not defined by errno.h.
(<error.h>): Do not include.
(unicode_to_mb): Return int, not void.  New arg for failure callback.
Invoke the failure callback instead of invoking 'error'.
(print_unicode_success): Renamed from fprintf_callback.  Now extern.
Return -1 on failure, 0 on success.
(print_unicode_failure): New function.
(print_unicode_char): Return int.  Adjust to changes to unicode_to_mb.
Do not report error: instead, print an approximation.

23 years agoRewrite from scratch, as print-copyr.h.
Paul Eggert [Fri, 21 Sep 2001 22:19:09 +0000 (22:19 +0000)] 
Rewrite from scratch, as print-copyr.h.

23 years agoRewrite from scratch, as print-copyr.c.
Paul Eggert [Fri, 21 Sep 2001 22:19:09 +0000 (22:19 +0000)] 
Rewrite from scratch, as print-copyr.c.

23 years ago(extracting files): Mention --to-stdout.
Paul Eggert [Fri, 21 Sep 2001 22:19:09 +0000 (22:19 +0000)] 
(extracting files): Mention --to-stdout.
(Option Summary, Dealing with Old Files): New option --overwrite-dir.
(Overwrite Old Files): Likewise.

23 years agoAdd copyright notice.
Paul Eggert [Fri, 21 Sep 2001 21:25:50 +0000 (21:25 +0000)] 
Add copyright notice.

23 years agoAdd copyright notice, autoconf 2.52 patch.
Paul Eggert [Fri, 21 Sep 2001 21:22:15 +0000 (21:22 +0000)] 
Add copyright notice, autoconf 2.52 patch.

23 years agoFrom Jim Meyering
Paul Eggert [Thu, 20 Sep 2001 18:01:32 +0000 (18:01 +0000)] 
From Jim Meyering
(jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of strtoumax

23 years agoFrom Jim Meyering
Paul Eggert [Thu, 20 Sep 2001 18:01:32 +0000 (18:01 +0000)] 
From Jim Meyering
(jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of strtoimax.

23 years agoFrom Jim Meyering.
Paul Eggert [Thu, 20 Sep 2001 18:01:31 +0000 (18:01 +0000)] 
From Jim Meyering.
(strtoimax): Guard declaration with
`#if !HAVE_DECL_STRTOIMAX', rather than just `#ifndef strtoimax'.
The latter fails because some systems (at least rs6000-ibm-aix4.3.3.0)
have their own, conflicting declaration of strtoimax in sys/inttypes.h.
(strtoumax): Likewise, for completeness (it wasn't necessary).

23 years agoInitial revision
Paul Eggert [Thu, 20 Sep 2001 17:08:35 +0000 (17:08 +0000)] 
Initial revision

23 years agoInitial revision
Paul Eggert [Mon, 17 Sep 2001 21:44:53 +0000 (21:44 +0000)] 
Initial revision

23 years agoInclude stddef.h, for size_t.
Paul Eggert [Sat, 15 Sep 2001 06:11:37 +0000 (06:11 +0000)] 
Include stddef.h, for size_t.
Include langinfo.h if needed.
Use locale_charset only if USE_INCLUDED_LIBINTL;
if not, use nl_langinfo (CODESET) if available.

23 years agoDescribe automake patch
Paul Eggert [Sat, 15 Sep 2001 06:10:14 +0000 (06:10 +0000)] 
Describe automake patch

23 years agoFix bug: statement before decl.
Paul Eggert [Fri, 14 Sep 2001 02:05:00 +0000 (02:05 +0000)] 
Fix bug: statement before decl.

23 years ago1.13.23
Paul Eggert [Fri, 14 Sep 2001 01:51:21 +0000 (01:51 +0000)] 
1.13.23

23 years agoInitial revision
Paul Eggert [Fri, 14 Sep 2001 00:27:39 +0000 (00:27 +0000)] 
Initial revision

23 years agoInclude copysym.h.
Paul Eggert [Fri, 14 Sep 2001 00:27:39 +0000 (00:27 +0000)] 
Include copysym.h.
(main): Use copyright_symbol to translate copyright notice,
instead of gettext.

23 years agoInclude copysym.h.
Paul Eggert [Fri, 14 Sep 2001 00:27:39 +0000 (00:27 +0000)] 
Include copysym.h.
(decode_options): Use copyright_symbol to translate copyright notice,
instead of gettext.

23 years ago(EXTRA_DIST): Add getcwd.m4; remove uintmax_t.m4.
Paul Eggert [Fri, 14 Sep 2001 00:27:39 +0000 (00:27 +0000)] 
(EXTRA_DIST): Add getcwd.m4; remove uintmax_t.m4.

23 years ago(struct delayed_set_stat): New member 'after_symlinks'.
Paul Eggert [Wed, 12 Sep 2001 06:46:23 +0000 (06:46 +0000)] 
(struct delayed_set_stat): New member 'after_symlinks'.
(delay_set_stat): Initialize it to 0.
(set_mode): New arg current_stat_info.  Use it (if nonnull) to avoid
taking an extra stat ourselves.  All callers changed.
(set_stat): Likewise.
(apply_nonancestor_delayed_set_stat): New arg 'after_symlinks'.
If false, stop when encountering a struct whose 'after_symlinks' member is
true.  Otherwise, go through all structures but check them more carefully.
All callers changed.
(extract_archive): When extracting a deferred symlink, if its parent
directory's status needs fixing, then mark the directory as needing
to be fixed after symlinks.
(extract_finish): Fix status of ordinary directories, then apply delayed
symlinks, then fix the status of directories that are ancestors
of delayed symlinks.

23 years agoRemove rexec declaration; it ran afoul of prototypes on Crays.
Paul Eggert [Wed, 12 Sep 2001 06:37:02 +0000 (06:37 +0000)] 
Remove rexec declaration; it ran afoul of prototypes on Crays.

23 years ago(HAVE_LONG_LONG): Redefine to HAVE_UNSIGNED_LONG_LONG if unsigned.
Paul Eggert [Thu, 6 Sep 2001 19:47:45 +0000 (19:47 +0000)] 
(HAVE_LONG_LONG): Redefine to HAVE_UNSIGNED_LONG_LONG if unsigned.
(strtoimax): Use sizeof (long), not sizeof strtol (ptr, endptr, base),
to work around bug in IBM C compiler.

23 years agoFix typo in quoted strings.
Paul Eggert [Mon, 3 Sep 2001 07:27:00 +0000 (07:27 +0000)] 
Fix typo in quoted strings.

23 years agoInitial revision
Paul Eggert [Mon, 3 Sep 2001 07:22:27 +0000 (07:22 +0000)] 
Initial revision

23 years agoserial 21
Paul Eggert [Mon, 3 Sep 2001 04:17:04 +0000 (04:17 +0000)] 
serial 21

23 years agoFix typo in local var; from Jim Meyering.
Paul Eggert [Mon, 3 Sep 2001 04:17:04 +0000 (04:17 +0000)] 
Fix typo in local var; from Jim Meyering.

23 years ago(xgetcwd): Reorganize to avoid some duplication.
Paul Eggert [Fri, 31 Aug 2001 11:36:54 +0000 (11:36 +0000)] 
(xgetcwd): Reorganize to avoid some duplication.
Use an initial, malloc'd, buffer of length 128 rather than
a statically allocated one of length 1024.

23 years ago(strtoimax): New decl.
Paul Eggert [Fri, 31 Aug 2001 01:36:06 +0000 (01:36 +0000)] 
(strtoimax): New decl.

23 years agoversion 1.13.22.
Paul Eggert [Wed, 29 Aug 2001 21:43:51 +0000 (21:43 +0000)] 
version 1.13.22.

23 years ago(name_gather, addname): Use offsetof when computing sizes for
Paul Eggert [Wed, 29 Aug 2001 21:37:27 +0000 (21:37 +0000)] 
(name_gather, addname): Use offsetof when computing sizes for
struct hack; this avoids wasted space in some cases.
(name_gather): Use strcpy, not memcpy.
for consistency with other code that does similar things.
(read_name_from_file, name_next, name_gather, add_hierarchy_to_namelist):
Avoid quadratic behavior when reallocating buffers.
Check for buffer size overflow.
(addname): Avoid unnecessary clearing of memory.

23 years ago(dump_file): Relativize link names before dumping.
Paul Eggert [Wed, 29 Aug 2001 21:37:27 +0000 (21:37 +0000)] 
(dump_file): Relativize link names before dumping.
This fixes a bug reported by Jose Pedro Oliveira.
(dump_file): Use offsetof when computing sizes for
struct hack; this avoids wasted space in some cases.

23 years ago(delay_set_stat): Fix off-by-one error in file
Paul Eggert [Wed, 29 Aug 2001 21:37:27 +0000 (21:37 +0000)] 
(delay_set_stat): Fix off-by-one error in file
name size allocation that caused core dumps.
From Jan.Djarv@mbox200.swipnet.se.
(extract_archive): Use strcpy, not memcpy,
for consistency with other code that does similar things.

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