]> Dogcows Code - chaz/tar/log
chaz/tar
24 years agofileutils 4.0x
Paul Eggert [Sun, 9 Jul 2000 07:25:03 +0000 (07:25 +0000)] 
fileutils 4.0x

24 years agoInitial revision
Paul Eggert [Sun, 9 Jul 2000 07:25:03 +0000 (07:25 +0000)] 
Initial revision

24 years ago(AC_MBSTATE_T_OBJECT): Test for mbstate_t only if the test
Paul Eggert [Wed, 5 Jul 2000 18:41:17 +0000 (18:41 +0000)] 
(AC_MBSTATE_T_OBJECT): Test for mbstate_t only if the test
for an object-type mbstate_t fails.

24 years ago(AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
Paul Eggert [Mon, 3 Jul 2000 22:04:18 +0000 (22:04 +0000)] 
(AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.

24 years agotextutils 2.0f
Paul Eggert [Sun, 2 Jul 2000 20:04:14 +0000 (20:04 +0000)] 
textutils 2.0f

24 years ago(<unistd.h>): Do not include; there's no need.
Paul Eggert [Mon, 26 Jun 2000 23:25:37 +0000 (23:25 +0000)] 
(<unistd.h>): Do not include; there's no need.
(NAMLEN): Remove macro.
(malloc, realloc): Remove decls.
(stpcpy): Likewise.
("xalloc.h"): Include.
(NAME_SIZE_DEFAULT): New macro.
(savedir): Use xmalloc / xrealloc to allocate memory.
Use NAME_SIZE_DEFAULT if name_size is negative or overflows to zero.
Skip "" directory entries.
Use strlen to calculate directory entry length, since the old method
is rarely used these days and isn't worth supporting.
Check for integer overflow when calculating allocation size.
Use memcpy to copy entries, instead of stpcpy.
Set errno properly when returning NULL.
Check for readdir error.

24 years agoInclude stdio.h before wchar.h, to work around a bug
Paul Eggert [Mon, 26 Jun 2000 18:53:06 +0000 (18:53 +0000)] 
Include stdio.h before wchar.h, to work around a bug
in glibc 2.1.3.

24 years agoFix inaccorate comment for xrealloc.
Paul Eggert [Mon, 26 Jun 2000 18:46:37 +0000 (18:46 +0000)] 
Fix inaccorate comment for xrealloc.

24 years ago(adjust_value): New function.
Paul Eggert [Thu, 15 Jun 2000 18:11:13 +0000 (18:11 +0000)] 
(adjust_value): New function.
(human_readable_inexact): Apply rounding style even when printing
approximate values.

24 years agoAvoid shadowing warnings.
Paul Eggert [Thu, 15 Jun 2000 15:47:43 +0000 (15:47 +0000)] 
Avoid shadowing warnings.
From: Jim Meyering <meyering@ascend.com>
Date: 15 Jun 2000 14:40:00 +0200

24 years agoWhite space changes, to match fileutils.
Paul Eggert [Thu, 15 Jun 2000 12:51:56 +0000 (12:51 +0000)] 
White space changes, to match fileutils.

24 years ago(human_readable_inexact): Allow an input block size that is not a
Paul Eggert [Thu, 15 Jun 2000 01:40:09 +0000 (01:40 +0000)] 
(human_readable_inexact): Allow an input block size that is not a
multiple of the output block size, and vice versa.

24 years ago(get_date): Apply relative times after time zone indicator, not
Paul Eggert [Wed, 14 Jun 2000 17:57:26 +0000 (17:57 +0000)] 
(get_date): Apply relative times after time zone indicator, not
before.

24 years agoInitial revision
Paul Eggert [Thu, 8 Jun 2000 20:17:44 +0000 (20:17 +0000)] 
Initial revision

24 years agoglibc snapshot
Paul Eggert [Wed, 24 May 2000 20:08:51 +0000 (20:08 +0000)] 
glibc snapshot

24 years agoInitial revision
Paul Eggert [Wed, 19 Apr 2000 00:38:49 +0000 (00:38 +0000)] 
Initial revision

24 years agoInitial revision
Paul Eggert [Sun, 27 Feb 2000 17:52:01 +0000 (17:52 +0000)] 
Initial revision

24 years ago(savedir): Work even if directory size is negative; this can
Paul Eggert [Thu, 24 Feb 2000 00:15:00 +0000 (00:15 +0000)] 
(savedir): Work even if directory size is negative; this can
happen with some NFS screwups.

24 years agoHandle two-digit years with leading zeros correctly.
Paul Eggert [Sat, 19 Feb 2000 00:25:54 +0000 (00:25 +0000)] 
Handle two-digit years with leading zeros correctly.

(textint): New typedef.
(parser_control): Changed from struct parser_control to typedef (for
consistency).  Member year changed from int to textint.  All uses changed.
(YYSTYPE): Removed; replaced by %union with int and textint members.
(tID): Removed; not used.
(tDAY, tDAY_UNIT, tDAYZONE, tHOUR_UNIT, tID, tLOCAL_ZONE, tMERIDIAN,
tMINUTE_UNIT, tMONTH, tMONTH_UNIT tSEC_UNIT, tSNUMBER, tUNUMBER,
tYEAR_UNIT, tZONE, o_merid): Now of type <intval>.
(tSNUMBER, tUNUMBER): Now of type <textintval>.
(date, number, to_year): Use width of number in digits, not its value,
to determine whether it's a 2-digit year, or a 2-digit time.
(yylex): Store number of digits of numeric tokens.
Return '?' for unknown identifiers, rather than (unused) tID.

24 years agosh-utils-2.0f
Paul Eggert [Sat, 22 Jan 2000 14:23:13 +0000 (14:23 +0000)] 
sh-utils-2.0f

24 years agoFrom Meyering
Paul Eggert [Wed, 19 Jan 2000 14:00:07 +0000 (14:00 +0000)] 
From Meyering

24 years agoInitial revision
Paul Eggert [Mon, 17 Jan 2000 06:23:01 +0000 (06:23 +0000)] 
Initial revision

24 years agoChange quoting to be compatible with future autoconf versions.
Paul Eggert [Sun, 16 Jan 2000 04:45:26 +0000 (04:45 +0000)] 
Change quoting to be compatible with future autoconf versions.

24 years agoUpdate copyright year.
Paul Eggert [Fri, 7 Jan 2000 23:02:32 +0000 (23:02 +0000)] 
Update copyright year.

24 years ago1.13.17 news
Paul Eggert [Fri, 7 Jan 2000 23:02:32 +0000 (23:02 +0000)] 
1.13.17 news

24 years agoUpdate copyright.
Paul Eggert [Fri, 7 Jan 2000 22:31:23 +0000 (22:31 +0000)] 
Update copyright.

24 years ago(read_and): Invoke apply_nonancestor_delayed_set_stat on file names
Paul Eggert [Fri, 7 Jan 2000 19:25:23 +0000 (19:25 +0000)] 
(read_and): Invoke apply_nonancestor_delayed_set_stat on file names
after handling them.
(list_archive): Use consistent message for unexpected EOF.
Use error message functions to report errors consistently.
(read_header): Use xalloc_die to report memory exhaustion.
Use consistent message for unexpected EOF.
(decode_mode): Remove; moved to misc.c.
(skip_file): Use consistent message for unexpected EOF.
(skip_extended_headers): Likewise.

24 years ago(find_new_file_size): Return size instead of storing through pointer.
Paul Eggert [Fri, 7 Jan 2000 19:25:23 +0000 (19:25 +0000)] 
(find_new_file_size): Return size instead of storing through pointer.
All callers changed.
(deal_with_sparse): Don't keep reading after read errors.
(finish_sparse_file): Just abort if there is an internal error.
Use error message functions to report errors consistently.
(dump_file): Fix typo: stat_warn and stat_error were interchanged.
Quote file names with colons if possible.
Don't restore access times on directories during incremental dumps
until after dealing with the directory.
If ignoring failed reads, count closedir errors as warnings, not errors.
Fix buffer overrun problem when dumping sparse files.
If ignoring failed reads, count read errors as warnings, not errors.
Use error message functions to report errors consistently.
If ignoring failed reads, count unknown files as warnings, not errors.

24 years ago(extract_mangle): Use xalloc_die to report memory exhaustion.
Paul Eggert [Fri, 7 Jan 2000 19:25:23 +0000 (19:25 +0000)] 
(extract_mangle): Use xalloc_die to report memory exhaustion.
Quote file names with colons if possible.

24 years ago(extr_init): If we run out of memory, invoke apply_delayed_set_stat.
Paul Eggert [Fri, 7 Jan 2000 19:25:23 +0000 (19:25 +0000)] 
(extr_init): If we run out of memory, invoke apply_delayed_set_stat.
(set_mode): Use Use error message functions to report errors consistently.
(set_stat): Likewise.
(repair_delayed_set_stat): Quote file names with colons if possible.
(prepare_to_extract): Don't complain if we can't remove ".".
(extract_sparse_file): Use consistent message for unexpected EOF.
Use error message functions to report errors consistently.
(extract_archive): Use consistent message for unexpected EOF.
Use error message functions to report errors consistently.
Quote file names with colons if possible.
(apply_delayed_set_stat): New function.
(apply_nonancestor_delayed_set_stat): Renamed from apply_delayed_set_stat.
Don't remove head if it doesn't apply.
(fatal_exit): Invoke apply_delayed_set_stat with no args.

24 years ago(decode_options): Use xalloc_die to report memory exhaustion.
Paul Eggert [Fri, 7 Jan 2000 19:25:23 +0000 (19:25 +0000)] 
(decode_options): Use xalloc_die to report memory exhaustion.
--delete and -f - are now incompatible, since we didn't have time
to fix their bugs.

24 years ago(archive_write_error): Add noreturn attribute to decl.
Paul Eggert [Fri, 7 Jan 2000 19:25:23 +0000 (19:25 +0000)] 
(archive_write_error): Add noreturn attribute to decl.
(xclose): Use close_error.
(xdup2): Regularize messages with rest of tar.
(archive_write_error): Use write_fatal_details.
(flush_read): Don't read past EOF.
(flush_archive, close_archive, new_volume): Use close_warn.

24 years ago(append_file): Use error message functions to report errors consistently.
Paul Eggert [Fri, 7 Jan 2000 19:25:23 +0000 (19:25 +0000)] 
(append_file): Use error message functions to report errors consistently.

24 years agoSync tm_diff with the GNU C Library.
Paul Eggert [Thu, 6 Jan 2000 18:07:38 +0000 (18:07 +0000)] 
Sync tm_diff with the GNU C Library.
(TM_YEAR_BASE): Renamed from TM_YEAR_ORIGIN.  All uses changed.
(tm_diff): Renamed from difftm.  All uses changed.
Replace body with that taken from GNU C Library 2.1.3pre1.
(get_date): Prefer tm_gmtoff to tm_diff if available.

24 years agoInitial revision
Paul Eggert [Tue, 4 Jan 2000 22:54:54 +0000 (22:54 +0000)] 
Initial revision

24 years ago(get_date):
Paul Eggert [Wed, 22 Dec 1999 18:10:37 +0000 (18:10 +0000)] 
(get_date):
Fix typo when checking for time_t overflow in time zone calculations.

24 years agoVersion 1.13.16
Paul Eggert [Mon, 13 Dec 1999 05:35:02 +0000 (05:35 +0000)] 
Version 1.13.16

24 years agoNew sections for gzip and bzip2, Solaris.
Paul Eggert [Mon, 13 Dec 1999 05:34:39 +0000 (05:34 +0000)] 
New sections for gzip and bzip2, Solaris.
Remove mention of BACKLOG.

24 years ago(<quotearg.h>): New include.
Paul Eggert [Mon, 13 Dec 1999 05:11:05 +0000 (05:11 +0000)] 
(<quotearg.h>): New include.
(append_file):
Don't assume that gettext preserves errno.
Quote arbitrary strings in diagnostics.
Check for close error.

24 years ago("quotearg.h"): New include.
Paul Eggert [Mon, 13 Dec 1999 05:11:05 +0000 (05:11 +0000)] 
("quotearg.h"): New include.
(usage): Now has __attribute__ ((noreturn)).
(confirm): Report errno if we can't open tty.
(confirm, decode_options):
Quote arbitrary strings in diagnostics.
(OVERWRITE_OPTION): New constant.
(long_options, usage, decode_options): New --overwrite option.
(decode_options): --keep-old-files, --overwrite, and --unlink-first
are now mutually exclusive.
Don't assume that gettext preserves errno.
(main): Set default quoting style to escape_quoting_style.

24 years ago(read_and, list_archive):
Paul Eggert [Mon, 13 Dec 1999 04:52:26 +0000 (04:52 +0000)] 
(read_and, list_archive):
Quote arbitrary strings in diagnostics.
(from_header): Use locale_quoting_style to quote diagnostics.
(print_header, print_for_mkdir): Quote with quotearg, not quote_copy_string.

24 years ago(decode_oflag): O_APPEND might not be defined.
Paul Eggert [Mon, 13 Dec 1999 04:52:26 +0000 (04:52 +0000)] 
(decode_oflag): O_APPEND might not be defined.

24 years ago(REM_BIAS): Increase from 128 to (1 << 30).
Paul Eggert [Mon, 13 Dec 1999 04:52:26 +0000 (04:52 +0000)] 
(REM_BIAS): Increase from 128 to (1 << 30).

24 years ago(<quotearg.h>): New include.
Paul Eggert [Mon, 13 Dec 1999 04:52:26 +0000 (04:52 +0000)] 
(<quotearg.h>): New include.
(name_init, name_next, name_close, names_notfound, collect_and_sort_names):
Don't assume that gettext preserves errno.
Quote arbitrary strings in diagnostics.
(excluded_name): Fix typo that caused empty patterns to be mishandled.

24 years ago(<quotearg.h>): New include.
Paul Eggert [Mon, 13 Dec 1999 03:26:04 +0000 (03:26 +0000)] 
(<quotearg.h>): New include.
(enum permstatus): New enum.
(struct delayed_set_stat): file_name is now at end of buffer, to avoid
two mallocs.  New members file_name_len, invert_permissions, permstatus.
(extr_init): Remove hack that silently adjusted newdir_umask.
(set_mode, set_stat): New args invert_permissions, permstatus, typeflag.
Use these args to decide whether and how to set modes.
(set_mode, set_stat, prepare_to_extract, extract_sparse_file, extract_archive):
Don't assume that gettext preserves errno.
(set_stat): Remove arg symlink_flag; subsumed by typeflag.
(delay_set_stat, repair_delayed_set_stat): New functions.
(make_directories): Avoid mkdir where last part of path is "..".
Create a struct delayed_set_stat for each directory made.
(prepare_to_extract): Renamed from unlink_destination, and
return 0 immediately if to_stdout_option; all callers changed.
(maybe_recoverable): New parameter interdir_made.
Add support for --overwrite.
(extract_sparse_file, extract_archive):
Quote arbitrary strings in diagnostics.
(extract_archive): By default, warn about ".." in member names, and skip them.
Don't open files with O_NONBLOCK or O_APPEND.
Open with O_TRUNC only if --overwrite; otherwise, use O_EXCL to avoid
overwriting them.  Pass only rwxrwxrwx permissions to `open' and `mkdir',
minus the current umask.  Keep track of intermediate directories made,
to avoid looping when making x/../x when x doesn't exist; the
earlier code solved this in a different way that didn't fit well
into the new scheme.  Don't extract permissions onto existing
directories unless --overwrite is given.  Do not add -wx------
permissions to new directories permanently; just do it temporarily.
Remove no-longer-needed hack with MSDOS and directory time stamps.
(apply_delayed_set_stat): New argument specifies which directories to
fix statuses of.  Do not wait until the end of extraction to fix
statuses; instead, fix a directory's status once we exit that directory.
This requires less memory and does the right thing in some cases
where the old method didn't.
(fatal_exit): New function.

24 years ago(<quotearg.h>): New include.
Paul Eggert [Mon, 13 Dec 1999 03:07:14 +0000 (03:07 +0000)] 
(<quotearg.h>): New include.
(start_header): Use `member names' to refer to archive member names, not
`archive names'.  Warn about `..' in member names.
(finish_sparse_file, dump_file):
Quote arbitrary strings in diagnostics.
(finish_sparse_file, dump_file):
Don't assume that gettext preserves errno.
(dump_file): Don't use `access' to determine whether a directory is readable;
this isn't reliable if tar is setuid.  Use `opendir' instead.
Check for readdir and closedir failures.
Don't dump sockets as if they were fifos; just warn and skip.

24 years ago(xclose, xdup2, child_open_for_compress, child_open_for_uncompress,
Paul Eggert [Mon, 13 Dec 1999 02:51:14 +0000 (02:51 +0000)] 
(xclose, xdup2, child_open_for_compress, child_open_for_uncompress,
archive_write_error, archive_read_error, flush_archive, close_archive,
init_volume_number, new_volume):
Don't assume that gettext preserves errno.

(xdup2): Don't report errno if dup returns an unexpected nonnegative value.
(open_archive): Reject multivolume verify attempts a bit earlier.
Rename local variable `access', in case it's defined by system header.

(open_archive, backspace_output): Use `Cannot' uniformly, instead of
`Could not' sometimes and `Cannot' others.

(open_archive, flush_read, flush_archive, close_archive, new_volume):
Quote arbitrary strings in diagnostics.

(read_error): Set archive to STDOUT_FILENO temporarily when writing
archive buffer.

(init_volume_number): Check for input and output errors in volno_file.

(new_volume): Use new fatal_exit function to exit, and new xfork
function to fork.

24 years agoUse ## on copyright notice.
Paul Eggert [Mon, 13 Dec 1999 02:24:29 +0000 (02:24 +0000)] 
Use ## on copyright notice.

24 years agoInitial revision
Paul Eggert [Mon, 13 Dec 1999 02:24:29 +0000 (02:24 +0000)] 
Initial revision

24 years agoAdd --overwrite.
Paul Eggert [Mon, 13 Dec 1999 02:24:29 +0000 (02:24 +0000)] 
Add --overwrite.
--absolute-names rejects ".." in names.

24 years ago(EXTRA_DIST): Add c-bs-a.m4.
Paul Eggert [Mon, 13 Dec 1999 02:24:29 +0000 (02:24 +0000)] 
(EXTRA_DIST): Add c-bs-a.m4.

24 years agoInitial revision
Paul Eggert [Mon, 13 Dec 1999 02:18:40 +0000 (02:18 +0000)] 
Initial revision

24 years agoversion 1.13.15
Paul Eggert [Fri, 3 Dec 1999 13:52:46 +0000 (13:52 +0000)] 
version 1.13.15

24 years ago(dump_file): Undo previous change about diagnosing unexpectely missing
Paul Eggert [Fri, 3 Dec 1999 13:46:09 +0000 (13:46 +0000)] 
(dump_file): Undo previous change about diagnosing unexpectely missing
files.  Instead, diagnose them a bit better.

Report that a file changed if its ctime changes; this is more
sensitive than mtime+size, and more accurate.

24 years agoRemove bogus errno FIXMEs.
Paul Eggert [Fri, 3 Dec 1999 13:04:17 +0000 (13:04 +0000)] 
Remove bogus errno FIXMEs.

24 years ago(name_next): If file names are given both in the
Paul Eggert [Fri, 3 Dec 1999 13:04:17 +0000 (13:04 +0000)] 
(name_next): If file names are given both in the
command line (e.g. via -C) and in a file (via -T), do not
ignore the command-line names.

24 years ago(dump_file): Do not diagnose a file that the parent directory
Paul Eggert [Fri, 3 Dec 1999 13:04:17 +0000 (13:04 +0000)] 
(dump_file): Do not diagnose a file that the parent directory
said should be there, but is absent.  It was
probably removed between then and now.
Do not pass meaningless errno to ERROR when reporting that the
file changed as we read it.

24 years agoClarify getdate authorship.
Paul Eggert [Fri, 3 Dec 1999 13:03:44 +0000 (13:03 +0000)] 
Clarify getdate authorship.

24 years agoBackport to autoconf 2.13.
Paul Eggert [Fri, 3 Dec 1999 12:51:25 +0000 (12:51 +0000)] 
Backport to autoconf 2.13.

25 years agoVersion 1.13.14.
Paul Eggert [Sun, 7 Nov 1999 22:05:04 +0000 (22:05 +0000)] 
Version 1.13.14.

25 years ago(finish_header): Report block numbers with origin 0, not origin 1.
Paul Eggert [Sun, 7 Nov 1999 22:01:27 +0000 (22:01 +0000)] 
(finish_header): Report block numbers with origin 0, not origin 1.

25 years agoNew node create options for --ignore-failed-read.
Paul Eggert [Sun, 7 Nov 1999 21:27:40 +0000 (21:27 +0000)] 
New node create options for --ignore-failed-read.
Remove unused version control symbols.
Modernize texinfo usage.

25 years ago(usage): Add examples.
Paul Eggert [Sun, 7 Nov 1999 21:15:15 +0000 (21:15 +0000)] 
(usage): Add examples.

25 years agoInclude getopt.h.
Paul Eggert [Sun, 7 Nov 1999 21:06:38 +0000 (21:06 +0000)] 
Include getopt.h.
(long_opts): New constant.
(usage): New function.
(main): Implement --help and --version.
Output usage message if arguments are bad.

25 years ago(to_chars): Remove trailing newline from warning.
Paul Eggert [Sun, 7 Nov 1999 21:06:38 +0000 (21:06 +0000)] 
(to_chars): Remove trailing newline from warning.
(dump_file): Ignore doors.

25 years ago(set_stat): Remove duplicate code.
Paul Eggert [Sun, 7 Nov 1999 21:06:38 +0000 (21:06 +0000)] 
(set_stat): Remove duplicate code.

25 years ago(from_header): Handle 32-bit two's complement negative time stamps
Paul Eggert [Sun, 7 Nov 1999 21:06:38 +0000 (21:06 +0000)] 
(from_header): Handle 32-bit two's complement negative time stamps
even if the leading octal digit is 2 or 3.

25 years ago(AC_FUNC_FNMATCH): Include fnmatch.h when testing fnmatch.
Paul Eggert [Sun, 7 Nov 1999 21:06:38 +0000 (21:06 +0000)] 
(AC_FUNC_FNMATCH): Include fnmatch.h when testing fnmatch.

25 years agoFix comment (from meyering fileutils).
Paul Eggert [Sun, 31 Oct 1999 15:47:44 +0000 (15:47 +0000)] 
Fix comment (from meyering fileutils).

25 years agoInitial revision
Paul Eggert [Sat, 30 Oct 1999 08:03:14 +0000 (08:03 +0000)] 
Initial revision

25 years agoversion 1.13.13
Paul Eggert [Mon, 11 Oct 1999 06:56:17 +0000 (06:56 +0000)] 
version 1.13.13

25 years agoRemove --with-dmalloc.
Paul Eggert [Mon, 11 Oct 1999 06:56:17 +0000 (06:56 +0000)] 
Remove --with-dmalloc.
Add --disable-largefile.
Remove old NeXT dirent problems, or AIX valloc problems.
Remove old union wait advice, and old %lld advice.
Remove advice about FreeBSD 2.1.7, ISC 4.1mu, Ultrix `make'.

25 years agoClarify documentation for portable file names.
Paul Eggert [Mon, 11 Oct 1999 06:56:17 +0000 (06:56 +0000)] 
Clarify documentation for portable file names.

25 years ago(update_archive): Fix typo: last two args to dump_file were interchanged.
Paul Eggert [Mon, 11 Oct 1999 06:56:17 +0000 (06:56 +0000)] 
(update_archive): Fix typo: last two args to dump_file were interchanged.

25 years ago(tartime): Now extern.
Paul Eggert [Mon, 11 Oct 1999 06:56:17 +0000 (06:56 +0000)] 
(tartime): Now extern.
(read_and): Invalid headers cause errors, not warnings.

25 years ago(dump_file): Fix typo: last two args to dump_file were interchanged.
Paul Eggert [Mon, 11 Oct 1999 06:56:17 +0000 (06:56 +0000)] 
(dump_file): Fix typo: last two args to dump_file were interchanged.

25 years ago(decode_options): Invalid dates are now treated as (time_t) -1.
Paul Eggert [Mon, 11 Oct 1999 06:56:17 +0000 (06:56 +0000)] 
(decode_options): Invalid dates are now treated as (time_t) -1.
Redo version message to conform to GNU standards.

25 years ago(__attribute__): Don't use if GCC claims to be before 2.8; this is
Paul Eggert [Sun, 3 Oct 1999 23:30:09 +0000 (23:30 +0000)] 
(__attribute__): Don't use if GCC claims to be before 2.8; this is
needed for OPENStep 4.2 cc.  Also, don't use if strict ANSI.

25 years agoInitial revision
Paul Eggert [Sun, 26 Sep 1999 19:03:20 +0000 (19:03 +0000)] 
Initial revision

25 years agoA read error now causes a nonzero exit status.
Paul Eggert [Sat, 25 Sep 1999 05:50:48 +0000 (05:50 +0000)] 
A read error now causes a nonzero exit status.

25 years ago(write_error): Read error is an error, not just a warning.
Paul Eggert [Sat, 25 Sep 1999 05:47:17 +0000 (05:47 +0000)] 
(write_error): Read error is an error, not just a warning.

25 years ago(to_chars): Fix base-256 output.
Paul Eggert [Sat, 25 Sep 1999 05:47:17 +0000 (05:47 +0000)] 
(to_chars): Fix base-256 output.

25 years agoVersion 1.13.12
Paul Eggert [Sat, 25 Sep 1999 00:33:06 +0000 (00:33 +0000)] 
Version 1.13.12

25 years ago(print_total_written): Use a format compatible with
Paul Eggert [Sat, 25 Sep 1999 00:25:36 +0000 (00:25 +0000)] 
(print_total_written): Use a format compatible with
Amanda 2.4.1p1.

25 years ago(update_archive): Remove call to name_expand; had no effect.
Paul Eggert [Fri, 24 Sep 1999 23:44:52 +0000 (23:44 +0000)] 
(update_archive): Remove call to name_expand; had no effect.
Use chdir_do to change into directory.
Use deref_stat instead of stat.
Use add_avoided_name to mark names to be avoided; the old method of
setting a bit with the name caused all descendants of that name to
be avoided, in some circumstances.

25 years ago(<time.h>): Include.
Paul Eggert [Fri, 24 Sep 1999 23:44:52 +0000 (23:44 +0000)] 
(<time.h>): Include.
(time): Declare if not defined.
(confirm): Don't read past EOF.
(long_options, usage): Add --no-same-owner, --no-same-permissions.
(main): Use clock_gettime if available.

25 years ago(name_next): Go back to using plain chdir.
Paul Eggert [Thu, 23 Sep 1999 06:22:31 +0000 (06:22 +0000)] 
(name_next): Go back to using plain chdir.
(name_gather): Use chdir_arg to keep track of arguments to chdir.
(addname): Likewise.
(name_match): Use chdir_do to act on chdir args.
(merge_sort): Moved here from incremen.c.
(compare_names, add_hierarchy_to_namelist, collect_and_sort_names):
Likewise.
(name_expand): Remove.
(name_from_list): Skip fack names.
Use chdir_do to act on chdir args.
(struct avoided_name): New struct.
(avoided_names): New var.
(add_avoided_name, is_avoided_name): New functions.

25 years ago(to_chars): Fix typo in decl.
Paul Eggert [Wed, 22 Sep 1999 06:14:23 +0000 (06:14 +0000)] 
(to_chars): Fix typo in decl.
Don't assign through char const *.
Rename name_expand back to collect_and_sort_names.

25 years ago(time): Declare if not defined.
Paul Eggert [Wed, 22 Sep 1999 06:14:23 +0000 (06:14 +0000)] 
(time): Declare if not defined.
(base_64_digits): Moved here from create.c.
(base64_map): Use UCHAR_MAX for size, not less-clear (unsigned char) -1.
(read_and): Don't get time from header unless we need it now;
as getting time can cause duplicate diagnostics if bogus.
Remove "Hmm, " from diagnostic.
Use "Skipping to next header" uniformly.
(from_header): Renamed from from_chars.  All uses changed.
Allow different forms for unportable 2's complement numbers.
Don't check for extended forms when parsing checksums.
Parse base-256 output.
(gid_from_header): Renamed from gid_from_chars.  All uses changed.
(major_from_header): Renamed from major_from_chars.  All uses changed.
(minor_from_header): Renamed from minor_from_chars.  All uses changed.
(mode_from_header): Renamed from mode_from_chars.  All uses changed.
(off_from_header): Renamed from off_from_chars.  All uses changed.
(size_from_header): Renamed from size_from_chars.  All uses changed.
(time_from_header): Renamed from time_from_chars.  All uses changed.
Warn about future timestamps.
(uid_from_header): Renamed from uid_from_chars.  All uses changed.
(uintmax_from_header): Renamed from uintmax_from_chars.  All uses changed.
(tartime): New function, incorporating isotime.
(isotime): Delete.
(print_header): Use tartime.

25 years ago(<time.h>): Remove; not used.
Paul Eggert [Wed, 22 Sep 1999 06:14:23 +0000 (06:14 +0000)] 
(<time.h>): Remove; not used.
(time): Do not declare.

25 years ago(struct link): Remove unused linkcount member.
Paul Eggert [Tue, 21 Sep 1999 15:13:33 +0000 (15:13 +0000)] 
(struct link): Remove unused linkcount member.
(base_64_digits): Move to list.c.
(base_8_digits): Remove.
(to_octal): New function, with some of old contents of to_base.
(to_base): Remove.
(to_base256): New function.
(to_chars): Use base 256, not base 64, for huge values.
(mode_to_chars): Don't use two's complement in GNU format or POSIX format.
(dump_file): Interchange last two arguments.  If TOP_LEVEL is negative,
it means we have an incremental dump where we don't know whether this
is a top-level call.
Use deref_stat instead of statx / stat / lstat.
Cast result of alloca.
Check for dates if 0 < top_level, not if listed_incremental_option.
Move multiple-link check after directory check.
Do not dump avoided names.
Dump hard links to symbolic names as links, not as separate symbolic links.
start_header cannot return a null pointer, so don't test for it.
Likewise for find_next_block.

25 years ago(<time.h>): No need to include.
Paul Eggert [Tue, 21 Sep 1999 15:13:33 +0000 (15:13 +0000)] 
(<time.h>): No need to include.
(time): No need to declare.
(now): Remove variable.
(extr_init): Don't initialize `now'.
Increment same_permissions_option and same_owner_option if we_are_root
is nonzero; this supports the new --no-same-owner option.
(set_stat): Use start_time instead of `now'.

25 years ago(<human.h>): Include.
Paul Eggert [Mon, 20 Sep 1999 06:28:45 +0000 (06:28 +0000)] 
(<human.h>): Include.
(print_total_written): Also print human-readable byte count, and bytes/s.
(open_archive, flush_write): Use start_time, not current time.
(flush_read): Report about garbage bytes ignored at end of archive,
but act on non-garbage bytes (instead of ignoring them).
(new_volume): Use WARN for warnings.

25 years agoInitial revision
Paul Eggert [Mon, 20 Sep 1999 06:12:58 +0000 (06:12 +0000)] 
Initial revision

25 years agoAdd --no-same-owner, --no-same-permissions.
Paul Eggert [Mon, 20 Sep 1999 06:12:58 +0000 (06:12 +0000)] 
Add --no-same-owner, --no-same-permissions.
Modernize sample backup script.

25 years ago(EXTRA_DIST): Add fnmatch.m4.
Paul Eggert [Mon, 20 Sep 1999 06:12:58 +0000 (06:12 +0000)] 
(EXTRA_DIST): Add fnmatch.m4.

25 years ago (get_date): Rename outermost local `probe' to `quarter'.
Paul Eggert [Sun, 29 Aug 1999 21:32:29 +0000 (21:32 +0000)] 
 (get_date): Rename outermost local `probe' to `quarter'.
(get_date): Rename latter local `tm' to probe_tm.
From: Jim Meyering <meyering@ascend.com>
Message-ID: <uryn1vafyyc.fsf@ixi.eng.ascend.com>

25 years ago(PC): New macro; use it when possible.
Paul Eggert [Sat, 28 Aug 1999 07:50:29 +0000 (07:50 +0000)] 
(PC): New macro; use it when possible.
(number): Handle `Nov 11 1996' example correctly.
See Risks Digest 20.55 (1999-08-27).

25 years agoFix typo in previous change.
Paul Eggert [Mon, 23 Aug 1999 11:03:47 +0000 (11:03 +0000)] 
Fix typo in previous change.

25 years ago(first_mangle, mangled_num): Remove.
Paul Eggert [Mon, 23 Aug 1999 10:55:51 +0000 (10:55 +0000)] 
(first_mangle, mangled_num): Remove.

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