]> Dogcows Code - chaz/tar/log
chaz/tar
20 years ago(dump_file0): The conditional at line
Sergey Poznyakoff [Sat, 21 Feb 2004 09:33:58 +0000 (09:33 +0000)] 
(dump_file0): The conditional at line
1296 prevented incremental backups on individual files
from working, as reported by Andreas Schuldei
<andreas@schuldei.org>.

This is due to the condition

  (0 < top_level || !incremental_option)

Removing it makes incremental backups work for individual
files as well as for directories. On the other hand, it does
not affect other functionality, as shown by the reasoning below:

To begin with, the two parts of this condition are mutually
superfluous, because

  1) when top_level < 0, incremental_option == 1
  so the condition yields false
  2) when top_level >= 0, incremental_option == 0
  so the condition yields true.

In other words, it is completely equivalent to

      (!incremental_option)

Now, let's consider the effect of its removal. There are two cases:

1) when incremental_option==1
This means incremental backup in progress. In this case dump_file
is invoked only for directories or for files marked with 'Y' by
get_directory_contents. The latter are those that did not meet the
condition in incremen.c:242, which is exactly the same condition
as this at create.c:1296. So, for these files the check
(!incremental_option) is useless, since the rest of the
conditional will yield false anyway. On the other hand, if
dump_file is invoked on a directory, the conditional will yield
false due to !S_ISDIR assertion, so these will be processed as usual.

Thus, for this case the extra condition (!incremental_option) is
irrelevant, and its removal won't alter the behavior of tar,
*except* that it will enable incremental backups on individual
files, which is the wanted effect.

2) when incremental_option==0
In this case the condition yields true and its removal does not
affect the functionality.

20 years agoUpdated
Sergey Poznyakoff [Fri, 20 Feb 2004 15:42:41 +0000 (15:42 +0000)] 
Updated

20 years ago(sort_obstack): Fixed typo in the comment
Sergey Poznyakoff [Fri, 20 Feb 2004 15:40:47 +0000 (15:40 +0000)] 
(sort_obstack): Fixed typo in the comment

20 years ago(decode_header): Call xheader_decode unconditionally.
Sergey Poznyakoff [Fri, 20 Feb 2004 15:39:45 +0000 (15:39 +0000)] 
(decode_header): Call xheader_decode unconditionally.

20 years ago(delete_archive_members): Call xheader_decode unconditionally.
Sergey Poznyakoff [Fri, 20 Feb 2004 15:39:29 +0000 (15:39 +0000)] 
(delete_archive_members): Call xheader_decode unconditionally.

20 years agoRequire gnu or oldgnu format
Sergey Poznyakoff [Fri, 20 Feb 2004 15:36:18 +0000 (15:36 +0000)] 
Require gnu or oldgnu format

20 years agoRequire gnu, oldgnu or posix format
Sergey Poznyakoff [Fri, 20 Feb 2004 15:35:30 +0000 (15:35 +0000)] 
Require gnu, oldgnu or posix format

20 years agoAccept an optional list of allowed archive
Sergey Poznyakoff [Fri, 20 Feb 2004 15:35:19 +0000 (15:35 +0000)] 
Accept an optional list of allowed archive
formats. Exit with the status 77 if the current archive
format does not match any of them.

20 years agoDocument new default for extended header names.
Sergey Poznyakoff [Fri, 20 Feb 2004 15:34:37 +0000 (15:34 +0000)] 
Document new default for extended header names.

20 years ago(xheader_format_name): Bugfix.
Sergey Poznyakoff [Fri, 20 Feb 2004 15:34:12 +0000 (15:34 +0000)] 
(xheader_format_name): Bugfix.
(xheader_xhdr_name): Changed the default extended header name
to '%d/PaxHeaders.%p/%f', as POSIX requires.
(xheader_ghdr_name): Removed unused argument.
(xheader_write,xheader_write_global): New function.
(xheader_decode): Modified to honor overrides whatever
the current archive format is.

20 years ago(update_archive): Write global extended header if constructed.
Sergey Poznyakoff [Fri, 20 Feb 2004 15:33:12 +0000 (15:33 +0000)] 
(update_archive): Write global extended header if constructed.

20 years ago(assert_format): Do not bail out if several
Sergey Poznyakoff [Fri, 20 Feb 2004 15:32:56 +0000 (15:32 +0000)] 
(assert_format): Do not bail out if several
--format arguments are given. This is a common case when
TAR_OPTIONS are used.
(decode_options): New option --show-defaults displays the
compiled-in defaults.

Use POSIX format if no --format option was given and
--pax-option was specified.

Do not allow to use --pax-option unless the archive format is
set to POSIX (or reading subcommand is requested).

20 years ago(start_private_header): Removed static qualifier.
Sergey Poznyakoff [Fri, 20 Feb 2004 15:32:12 +0000 (15:32 +0000)] 
(start_private_header): Removed static qualifier.
(write_extended): Removed superfluous last argument. Use
xheader_write()
(simple_finish_header): New function.
(finish_header): Use simple_finish_header() to break recursive
dependency between this function and write_extended().

20 years ago(simple_finish_header,start_private_header): New
Sergey Poznyakoff [Fri, 20 Feb 2004 15:30:26 +0000 (15:30 +0000)] 
(simple_finish_header,start_private_header): New
declarations
(xheader_ghdr_name): Changed declaration

20 years agoUpdated
Sergey Poznyakoff [Fri, 20 Feb 2004 11:46:33 +0000 (11:46 +0000)] 
Updated

20 years agoAdded a comment
Sergey Poznyakoff [Fri, 20 Feb 2004 11:45:15 +0000 (11:45 +0000)] 
Added a comment

20 years agoDocumented --pax-option
Sergey Poznyakoff [Fri, 20 Feb 2004 11:44:46 +0000 (11:44 +0000)] 
Documented --pax-option

20 years agoUpdated
Sergey Poznyakoff [Wed, 18 Feb 2004 14:56:56 +0000 (14:56 +0000)] 
Updated

20 years agoUpdated
Sergey Poznyakoff [Wed, 18 Feb 2004 14:49:08 +0000 (14:49 +0000)] 
Updated

20 years agoUpdated
Sergey Poznyakoff [Wed, 18 Feb 2004 14:44:53 +0000 (14:44 +0000)] 
Updated

20 years agoMinor fixes
Sergey Poznyakoff [Wed, 18 Feb 2004 14:41:41 +0000 (14:41 +0000)] 
Minor fixes

20 years agoImplement pax -o option. Fixed misleading heading comment (introduced 2003-09-02).
Sergey Poznyakoff [Wed, 18 Feb 2004 14:41:23 +0000 (14:41 +0000)] 
Implement pax -o option. Fixed misleading heading comment (introduced 2003-09-02).

20 years agoNew option --pax-option (equivalent to -o option of pax).
Sergey Poznyakoff [Wed, 18 Feb 2004 14:41:00 +0000 (14:41 +0000)] 
New option --pax-option (equivalent to -o option of pax).

20 years ago(write_extended): Call xheader_xhdr_name
Sergey Poznyakoff [Wed, 18 Feb 2004 14:40:21 +0000 (14:40 +0000)] 
(write_extended): Call xheader_xhdr_name
instead of using hardcoded "././@PaxHeader" name.

20 years ago(xheader_xhdr_name,xheader_ghdr_name): New functions
Sergey Poznyakoff [Wed, 18 Feb 2004 14:39:36 +0000 (14:39 +0000)] 
(xheader_xhdr_name,xheader_ghdr_name): New functions

20 years agoAdded stpcpy
Sergey Poznyakoff [Wed, 18 Feb 2004 14:39:24 +0000 (14:39 +0000)] 
Added stpcpy

20 years agoUpdated
Sergey Poznyakoff [Wed, 18 Feb 2004 14:39:10 +0000 (14:39 +0000)] 
Updated

20 years agoUpdated
Sergey Poznyakoff [Tue, 17 Feb 2004 13:34:14 +0000 (13:34 +0000)] 
Updated

20 years agoFixed typo
Sergey Poznyakoff [Tue, 17 Feb 2004 13:33:52 +0000 (13:33 +0000)] 
Fixed typo

20 years agoMinor changes
Sergey Poznyakoff [Tue, 17 Feb 2004 13:33:14 +0000 (13:33 +0000)] 
Minor changes

20 years agoRemoved accumulator stuff in favor of obstack.
Sergey Poznyakoff [Tue, 17 Feb 2004 13:32:41 +0000 (13:32 +0000)] 
Removed accumulator stuff in favor of obstack.
get_directory_contents): Split into two functions

20 years agoFix Debian bug 230872, originally reported by Jeff King in
Paul Eggert [Sun, 15 Feb 2004 08:36:20 +0000 (08:36 +0000)] 
Fix Debian bug 230872, originally reported by Jeff King in
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=230872>.

20 years agoUpdated
Sergey Poznyakoff [Wed, 21 Jan 2004 10:38:38 +0000 (10:38 +0000)] 
Updated

20 years agoUpdated
Sergey Poznyakoff [Wed, 21 Jan 2004 10:37:28 +0000 (10:37 +0000)] 
Updated

20 years agoUpdated TP URL, improved help output. Default
Sergey Poznyakoff [Wed, 21 Jan 2004 10:34:30 +0000 (10:34 +0000)] 
Updated TP URL, improved help output. Default
to :ext:anoncvs and set CVS_RSH, unless already set.

20 years agoUpdated
Sergey Poznyakoff [Wed, 21 Jan 2004 10:32:40 +0000 (10:32 +0000)] 
Updated

20 years agoRequire automake-1.8/autoconf-2.59. Removed m4/Makefile.
Sergey Poznyakoff [Wed, 21 Jan 2004 10:32:06 +0000 (10:32 +0000)] 
Require automake-1.8/autoconf-2.59. Removed m4/Makefile.

20 years agoRemoved m4
Sergey Poznyakoff [Wed, 21 Jan 2004 10:31:06 +0000 (10:31 +0000)] 
Removed m4

20 years agoUpdated
Sergey Poznyakoff [Tue, 20 Jan 2004 23:32:26 +0000 (23:32 +0000)] 
Updated

20 years agoUse $option instead of $1 so all options will be parsed. Bugfix by Marco Gerards
Sergey Poznyakoff [Tue, 20 Jan 2004 23:31:26 +0000 (23:31 +0000)] 
Use $option instead of $1 so all options will be parsed. Bugfix by Marco Gerards

20 years agoUpdated
Sergey Poznyakoff [Sat, 3 Jan 2004 22:35:22 +0000 (22:35 +0000)] 
Updated

20 years agoAdded recurse.sh and mksparse.c
Sergey Poznyakoff [Sat, 3 Jan 2004 22:27:58 +0000 (22:27 +0000)] 
Added recurse.sh and mksparse.c

20 years agoNew file.
Sergey Poznyakoff [Sat, 3 Jan 2004 22:27:36 +0000 (22:27 +0000)] 
New file.

20 years agoNew test case.
Sergey Poznyakoff [Sat, 3 Jan 2004 22:26:58 +0000 (22:26 +0000)] 
New test case.

20 years ago(time_to_start_writing): Changed data type.
Sergey Poznyakoff [Sat, 3 Jan 2004 22:26:30 +0000 (22:26 +0000)] 
(time_to_start_writing): Changed data type.

20 years ago(decode_options): More option compatibility checks (moved from buffer.c)
Sergey Poznyakoff [Sat, 3 Jan 2004 22:26:11 +0000 (22:26 +0000)] 
(decode_options): More option compatibility checks (moved from buffer.c)

20 years agoUpdated assignment to write_archive_to_stdout
Sergey Poznyakoff [Sat, 3 Jan 2004 22:25:41 +0000 (22:25 +0000)] 
Updated assignment to write_archive_to_stdout

20 years agoUpdated invocations of safer_name_suffix
Sergey Poznyakoff [Sat, 3 Jan 2004 22:25:24 +0000 (22:25 +0000)] 
Updated invocations of safer_name_suffix

20 years ago(maybe_backup_file): Changed return type
Sergey Poznyakoff [Sat, 3 Jan 2004 22:24:35 +0000 (22:24 +0000)] 
(maybe_backup_file): Changed return type

20 years ago(new_volume,check_label_pattern): Changed return type.
Sergey Poznyakoff [Sat, 3 Jan 2004 22:23:48 +0000 (22:23 +0000)] 
(new_volume,check_label_pattern): Changed return type.
(time_to_start_writing): Changed data type
(file_to_switch_to): Removed. Variable never assigned to.
(open_archive) Moved option compatibility checks to tar.c
Other minor changes.

20 years agoNew option --no-po
Sergey Poznyakoff [Sat, 3 Jan 2004 22:22:01 +0000 (22:22 +0000)] 
New option --no-po

20 years agoUpdated
Sergey Poznyakoff [Sat, 3 Jan 2004 11:46:36 +0000 (11:46 +0000)] 
Updated

20 years ago(dump_dir0): Bugfix. Thanks Piotr Czerwinski <pius@pld-linux.org> for the patch.
Sergey Poznyakoff [Sat, 3 Jan 2004 11:45:31 +0000 (11:45 +0000)] 
(dump_dir0): Bugfix. Thanks Piotr Czerwinski <pius@pld-linux.org> for the patch.

20 years ago(sparse_diff_file): Bugfix. Thanks Martin Simmons for the patch.
Sergey Poznyakoff [Sat, 3 Jan 2004 11:44:45 +0000 (11:44 +0000)] 
(sparse_diff_file): Bugfix. Thanks Martin Simmons for the patch.

20 years agoSynchronize with Gettext 0.13.1, Automake 1.8, Autoconf 2.59,
uid65632 [Sat, 27 Dec 2003 06:41:48 +0000 (06:41 +0000)] 
Synchronize with Gettext 0.13.1, Automake 1.8, Autoconf 2.59,
and translation website.

20 years agoUpdated
uid65697 [Thu, 25 Dec 2003 10:26:40 +0000 (10:26 +0000)] 
Updated

20 years ago(safer_name_suffix): Reverted change made 2003-11-14. Reason: Discussion with Paul...
uid65697 [Thu, 25 Dec 2003 10:20:54 +0000 (10:20 +0000)] 
(safer_name_suffix): Reverted change made 2003-11-14. Reason: Discussion with Paul Eggert and Jean-Louis Martineau. See also ChangeLog entry from 1999-08-14.

20 years ago(code_time,decode_time): Support for subsecond precision. (atime_coder,atime_decoder...
uid65697 [Thu, 25 Dec 2003 10:20:43 +0000 (10:20 +0000)] 
(code_time,decode_time): Support for subsecond precision. (atime_coder,atime_decoder,ctime_coder,ctime_decoder) (mtime_coder,mtime_decoder): Update invocations of code_time and decode_time. (gid_decoder,size_decoder,uid_decoder,sparse_size_decoder) (sparse_numblocks_decoder,sparse_offset_decoder) (sparse_numbytes_decoder): Updated

20 years ago(tar_stat_info.atime_nsec,mtime_nsec,ctime_nsec): New members.
uid65697 [Thu, 25 Dec 2003 10:20:32 +0000 (10:20 +0000)] 
(tar_stat_info.atime_nsec,mtime_nsec,ctime_nsec): New members.

20 years ago(sys_stat_nanoseconds): New function
uid65697 [Thu, 25 Dec 2003 10:20:19 +0000 (10:20 +0000)] 
(sys_stat_nanoseconds): New function

20 years ago(sparse_scan_file): Correctly handle files with a hole at the end. (sparse_dump_regio...
uid65697 [Thu, 25 Dec 2003 10:20:05 +0000 (10:20 +0000)] 
(sparse_scan_file): Correctly handle files with a hole at the end. (sparse_dump_region,sparse_extract_region): Allow for zero size trailing blocks

20 years ago(safer_name_suffix): Reverted change made 2003-11-14. Reason: Discussion with Paul...
uid65697 [Thu, 25 Dec 2003 10:19:40 +0000 (10:19 +0000)] 
(safer_name_suffix): Reverted change made 2003-11-14. Reason: Discussion with Paul Eggert and Jean-Louis Martineau. See also ChangeLog entry from 1999-08-14.

20 years ago(read_and): Treat only two successive zero filled blocks as an EOF indicator. Issue...
uid65697 [Thu, 25 Dec 2003 10:19:24 +0000 (10:19 +0000)] 
(read_and): Treat only two successive zero filled blocks as an EOF indicator. Issue a warning if a single one is encountered.

20 years ago(print_header): Use archive_file_size member when printing real file size.
uid65697 [Thu, 25 Dec 2003 10:19:12 +0000 (10:19 +0000)] 
(print_header): Use archive_file_size member when printing real file size.

20 years ago(decode_header): Discern between pax and ustar formats
uid65697 [Thu, 25 Dec 2003 10:19:00 +0000 (10:19 +0000)] 
(decode_header): Discern between pax and ustar formats

20 years ago(write_directory_file): Use sys_truncate
uid65697 [Thu, 25 Dec 2003 10:18:48 +0000 (10:18 +0000)] 
(write_directory_file): Use sys_truncate

20 years ago(dump_file0): Use sys_stat_nanoseconds().
uid65697 [Thu, 25 Dec 2003 10:18:37 +0000 (10:18 +0000)] 
(dump_file0): Use sys_stat_nanoseconds().

20 years ago(sys_stat_nanoseconds): New function
uid65697 [Thu, 25 Dec 2003 10:18:25 +0000 (10:18 +0000)] 
(sys_stat_nanoseconds): New function

20 years ago(short_read): Issue a warning on short reads.
uid65697 [Thu, 25 Dec 2003 10:18:14 +0000 (10:18 +0000)] 
(short_read): Issue a warning on short reads.

20 years agoCheck for varios members of struct stat that may represent file modification times...
uid65697 [Thu, 25 Dec 2003 10:18:00 +0000 (10:18 +0000)] 
Check for varios members of struct stat that may represent file modification times with a subsecond precision. Check for utimes (for future use)

20 years agoRaised version number to 1.13.92
uid65697 [Thu, 25 Dec 2003 10:17:48 +0000 (10:17 +0000)] 
Raised version number to 1.13.92

20 years agoUpdated
uid65697 [Thu, 25 Dec 2003 10:17:18 +0000 (10:17 +0000)] 
Updated

20 years agoUpdated
uid65697 [Thu, 25 Dec 2003 10:17:05 +0000 (10:17 +0000)] 
Updated

20 years agoUpdated
uid65697 [Thu, 25 Dec 2003 10:16:52 +0000 (10:16 +0000)] 
Updated

20 years agoUpdated
uid65697 [Thu, 25 Dec 2003 10:16:39 +0000 (10:16 +0000)] 
Updated

20 years agoUpdated
Sergey Poznyakoff [Mon, 1 Dec 2003 21:31:13 +0000 (21:31 +0000)] 
Updated

20 years agoMinor fix
Sergey Poznyakoff [Mon, 1 Dec 2003 21:28:11 +0000 (21:28 +0000)] 
Minor fix

20 years ago (struct xhdr_tab.coder; all coder function): Added
Sergey Poznyakoff [Mon, 1 Dec 2003 21:21:11 +0000 (21:21 +0000)] 
 (struct xhdr_tab.coder; all coder function): Added
extra argument
Implemeted GNU.sparse.* keywords.

20 years ago(usage): Cleaned up the sample argument to --newer
Sergey Poznyakoff [Mon, 1 Dec 2003 21:20:47 +0000 (21:20 +0000)] 
(usage): Cleaned up the sample argument to --newer
option.
(decode_options): Allow --sparse for POSIX_FORMAT archives.

20 years ago(extract_archive): Check reported size vs.
Sergey Poznyakoff [Mon, 1 Dec 2003 21:19:37 +0000 (21:19 +0000)] 
(extract_archive): Check reported size vs.
archive file size to determine if we have to do with a
sparse file.

20 years agoUpdate calls to xheader_store
Sergey Poznyakoff [Mon, 1 Dec 2003 21:19:16 +0000 (21:19 +0000)] 
Update calls to xheader_store

20 years ago(xheader_store): Changed prototype.
Sergey Poznyakoff [Mon, 1 Dec 2003 21:19:01 +0000 (21:19 +0000)] 
(xheader_store): Changed prototype.

20 years agoInitial implementation of GNU/pax sparse file format.
Sergey Poznyakoff [Mon, 1 Dec 2003 21:18:30 +0000 (21:18 +0000)] 
Initial implementation of GNU/pax sparse file format.

20 years agoUpdated
Sergey Poznyakoff [Mon, 1 Dec 2003 21:18:10 +0000 (21:18 +0000)] 
Updated

20 years agoUpdated
Sergey Poznyakoff [Sun, 30 Nov 2003 21:19:31 +0000 (21:19 +0000)] 
Updated

20 years agoCheck for setlocale. Thanks Bruno Haible for reporting.
Sergey Poznyakoff [Sun, 30 Nov 2003 21:18:12 +0000 (21:18 +0000)] 
Check for setlocale. Thanks Bruno Haible for reporting.

20 years agoUpdated
Sergey Poznyakoff [Tue, 25 Nov 2003 07:05:15 +0000 (07:05 +0000)] 
Updated

20 years ago(write_gnu_long_link): Use oldgnu magic with @LongLink blocks.
Sergey Poznyakoff [Tue, 25 Nov 2003 07:04:45 +0000 (07:04 +0000)] 
(write_gnu_long_link): Use oldgnu magic with @LongLink blocks.

20 years agoUpdated
Sergey Poznyakoff [Mon, 17 Nov 2003 15:21:57 +0000 (15:21 +0000)] 
Updated

20 years agoSupport for star sparse format
Sergey Poznyakoff [Mon, 17 Nov 2003 15:20:46 +0000 (15:20 +0000)] 
Support for star sparse format

20 years agoUpdated
Sergey Poznyakoff [Mon, 17 Nov 2003 11:07:26 +0000 (11:07 +0000)] 
Updated

20 years ago(diff_archive): Use sparse_diff_file.
Sergey Poznyakoff [Mon, 17 Nov 2003 11:05:18 +0000 (11:05 +0000)] 
(diff_archive): Use sparse_diff_file.

20 years ago(sys_compare_uid,sys_compare_gid): New functions
Sergey Poznyakoff [Mon, 17 Nov 2003 11:05:06 +0000 (11:05 +0000)] 
(sys_compare_uid,sys_compare_gid): New functions
(sys_compare_uid_gid): Removed.
(sys_compare_links): Changed declaration

20 years ago(sys_compare_uid,sys_compare_gid): New functions
Sergey Poznyakoff [Mon, 17 Nov 2003 11:04:40 +0000 (11:04 +0000)] 
(sys_compare_uid,sys_compare_gid): New functions
(sys_compare_uid_gid): Removed.
(sys_compare_links,report_difference): Changed prototype
(sparse_diff_file): New function

20 years ago(sparse_diff_file): New function
Sergey Poznyakoff [Mon, 17 Nov 2003 11:04:16 +0000 (11:04 +0000)] 
(sparse_diff_file): New function

20 years agoUpdated
Sergey Poznyakoff [Mon, 17 Nov 2003 07:44:44 +0000 (07:44 +0000)] 
Updated

20 years ago Use new diagnostics functions.
Sergey Poznyakoff [Mon, 17 Nov 2003 07:39:33 +0000 (07:39 +0000)] 
 Use new diagnostics functions.

20 years ago(close_diag,open_diag,read_diag_details)
Sergey Poznyakoff [Mon, 17 Nov 2003 07:39:09 +0000 (07:39 +0000)] 
(close_diag,open_diag,read_diag_details)
(readlink_diag,savedir_diag,seek_diag_details,stat_diag): New
diagnostics functions.

20 years agoMinor changes
Sergey Poznyakoff [Mon, 17 Nov 2003 07:38:37 +0000 (07:38 +0000)] 
Minor changes

20 years ago(diff_sparse_files): Temporary placeholder.
Sergey Poznyakoff [Mon, 17 Nov 2003 07:38:03 +0000 (07:38 +0000)] 
(diff_sparse_files): Temporary placeholder.

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