Sergey Poznyakoff [Sun, 29 Feb 2004 10:16:02 +0000 (10:16 +0000)]
(sys_child_open_for_uncompress): Minor stylistic fix.
Sergey Poznyakoff [Sun, 29 Feb 2004 10:15:45 +0000 (10:15 +0000)]
(flush_read): Bugfix: the condition at line 714 included
|| (status > 0 && !read_full_records_option)
which is grossly wrong, since even if new_volume() below succeeds,
the subsequent call to rmtread will overwrite the chunk of data
already read in the buffer and thus spoil everything.
Sergey Poznyakoff [Sun, 29 Feb 2004 00:15:05 +0000 (00:15 +0000)]
Updated
Sergey Poznyakoff [Sun, 29 Feb 2004 00:09:31 +0000 (00:09 +0000)]
New file
Sergey Poznyakoff [Sun, 29 Feb 2004 00:07:00 +0000 (00:07 +0000)]
Accomodate for the new testsuite logic
Sergey Poznyakoff [Sun, 29 Feb 2004 00:06:36 +0000 (00:06 +0000)]
Rewritten
Sergey Poznyakoff [Sun, 29 Feb 2004 00:06:16 +0000 (00:06 +0000)]
Added new tests
Sergey Poznyakoff [Sun, 29 Feb 2004 00:06:03 +0000 (00:06 +0000)]
New options: --utc and keep-newer-files
Sergey Poznyakoff [Sun, 29 Feb 2004 00:05:31 +0000 (00:05 +0000)]
(tartime): Print UTC if --utc was given.
Sergey Poznyakoff [Sun, 29 Feb 2004 00:05:12 +0000 (00:05 +0000)]
Handle --keep-newer-files option
Sergey Poznyakoff [Sun, 29 Feb 2004 00:04:50 +0000 (00:04 +0000)]
(utc_option): new global
(enum old_files.KEEP_NEWER_FILES): New element
Sergey Poznyakoff [Sun, 29 Feb 2004 00:04:21 +0000 (00:04 +0000)]
Removed spurious AC_CHECK_LIB(iconv)
Sergey Poznyakoff [Sun, 29 Feb 2004 00:04:03 +0000 (00:04 +0000)]
Updated
Paul Eggert [Thu, 26 Feb 2004 18:02:50 +0000 (18:02 +0000)]
Append period to dircategory entry.
Sergey Poznyakoff [Tue, 24 Feb 2004 15:28:27 +0000 (15:28 +0000)]
Updated
Sergey Poznyakoff [Tue, 24 Feb 2004 15:27:54 +0000 (15:27 +0000)]
(decode_header): Call xheader_decode before the assignment to current_stat_info.archive_file_size.
Paul Eggert [Mon, 23 Feb 2004 22:31:20 +0000 (22:31 +0000)]
Invoke AM_ICONV, to define ICONV_CONST if needed.
Sergey Poznyakoff [Mon, 23 Feb 2004 10:07:21 +0000 (10:07 +0000)]
Updated
Sergey Poznyakoff [Mon, 23 Feb 2004 10:05:42 +0000 (10:05 +0000)]
Use prereq() instead of passing arguments to 'before'.
Sergey Poznyakoff [Mon, 23 Feb 2004 10:05:22 +0000 (10:05 +0000)]
Move testing of the prerequisite archive formats
to the separate function 'prereq'. Do not expect any arguments
Sergey Poznyakoff [Mon, 23 Feb 2004 10:04:49 +0000 (10:04 +0000)]
Updated
Sergey Poznyakoff [Sun, 22 Feb 2004 21:00:07 +0000 (21:00 +0000)]
Added UTF-8 support. Finished global extended header support.
Sergey Poznyakoff [Sun, 22 Feb 2004 20:55:12 +0000 (20:55 +0000)]
Give credit to Andreas Schuldei.
Sergey Poznyakoff [Sun, 22 Feb 2004 20:54:44 +0000 (20:54 +0000)]
Use keywords from the global headers.
Correctly handle UTF-8 conversions.
(xheader_list_destroy): New function.
(xheader_set_single_keyword,xheader_set_keyword_equal): Added
missing gettext markers
(decode_record): Rewritten using caller-provided handler and
data closure.
Sergey Poznyakoff [Sun, 22 Feb 2004 20:54:04 +0000 (20:54 +0000)]
Decode encountered global headers.
Sergey Poznyakoff [Sun, 22 Feb 2004 20:53:27 +0000 (20:53 +0000)]
(write_header_name) In pax format, use "path" keyword if the file name is not ASCII
Sergey Poznyakoff [Sun, 22 Feb 2004 20:52:56 +0000 (20:52 +0000)]
Added utf8.c
Sergey Poznyakoff [Sun, 22 Feb 2004 20:52:34 +0000 (20:52 +0000)]
Conversions to and from utf-8.
Sergey Poznyakoff [Sun, 22 Feb 2004 20:51:10 +0000 (20:51 +0000)]
Detect libiconv
Sergey Poznyakoff [Sun, 22 Feb 2004 20:50:33 +0000 (20:50 +0000)]
Minor fix
Sergey Poznyakoff [Sat, 21 Feb 2004 09:41:19 +0000 (09:41 +0000)]
Updated
Sergey Poznyakoff [Sat, 21 Feb 2004 09:40:45 +0000 (09:40 +0000)]
Sorry, the version number is .93
Sergey Poznyakoff [Sat, 21 Feb 2004 09:38:29 +0000 (09:38 +0000)]
Updated
Sergey Poznyakoff [Sat, 21 Feb 2004 09:36:15 +0000 (09:36 +0000)]
Added listed01.sh
Sergey Poznyakoff [Sat, 21 Feb 2004 09:35:44 +0000 (09:35 +0000)]
Check listed incremental backups on individual files.
Sergey Poznyakoff [Sat, 21 Feb 2004 09:35:10 +0000 (09:35 +0000)]
Minor stylistic fixes.
Sergey Poznyakoff [Sat, 21 Feb 2004 09:34:39 +0000 (09:34 +0000)]
Raised patchlevel to 92a
Sergey Poznyakoff [Sat, 21 Feb 2004 09:34:22 +0000 (09:34 +0000)]
Updated
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.
Sergey Poznyakoff [Fri, 20 Feb 2004 15:42:41 +0000 (15:42 +0000)]
Updated
Sergey Poznyakoff [Fri, 20 Feb 2004 15:40:47 +0000 (15:40 +0000)]
(sort_obstack): Fixed typo in the comment
Sergey Poznyakoff [Fri, 20 Feb 2004 15:39:45 +0000 (15:39 +0000)]
(decode_header): Call xheader_decode unconditionally.
Sergey Poznyakoff [Fri, 20 Feb 2004 15:39:29 +0000 (15:39 +0000)]
(delete_archive_members): Call xheader_decode unconditionally.
Sergey Poznyakoff [Fri, 20 Feb 2004 15:36:18 +0000 (15:36 +0000)]
Require gnu or oldgnu format
Sergey Poznyakoff [Fri, 20 Feb 2004 15:35:30 +0000 (15:35 +0000)]
Require gnu, oldgnu or posix format
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.
Sergey Poznyakoff [Fri, 20 Feb 2004 15:34:37 +0000 (15:34 +0000)]
Document new default for extended header names.
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.
Sergey Poznyakoff [Fri, 20 Feb 2004 15:33:12 +0000 (15:33 +0000)]
(update_archive): Write global extended header if constructed.
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).
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().
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
Sergey Poznyakoff [Fri, 20 Feb 2004 11:46:33 +0000 (11:46 +0000)]
Updated
Sergey Poznyakoff [Fri, 20 Feb 2004 11:45:15 +0000 (11:45 +0000)]
Added a comment
Sergey Poznyakoff [Fri, 20 Feb 2004 11:44:46 +0000 (11:44 +0000)]
Documented --pax-option
Sergey Poznyakoff [Wed, 18 Feb 2004 14:56:56 +0000 (14:56 +0000)]
Updated
Sergey Poznyakoff [Wed, 18 Feb 2004 14:49:08 +0000 (14:49 +0000)]
Updated
Sergey Poznyakoff [Wed, 18 Feb 2004 14:44:53 +0000 (14:44 +0000)]
Updated
Sergey Poznyakoff [Wed, 18 Feb 2004 14:41:41 +0000 (14:41 +0000)]
Minor fixes
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).
Sergey Poznyakoff [Wed, 18 Feb 2004 14:41:00 +0000 (14:41 +0000)]
New option --pax-option (equivalent to -o option of pax).
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.
Sergey Poznyakoff [Wed, 18 Feb 2004 14:39:36 +0000 (14:39 +0000)]
(xheader_xhdr_name,xheader_ghdr_name): New functions
Sergey Poznyakoff [Wed, 18 Feb 2004 14:39:24 +0000 (14:39 +0000)]
Added stpcpy
Sergey Poznyakoff [Wed, 18 Feb 2004 14:39:10 +0000 (14:39 +0000)]
Updated
Sergey Poznyakoff [Tue, 17 Feb 2004 13:34:14 +0000 (13:34 +0000)]
Updated
Sergey Poznyakoff [Tue, 17 Feb 2004 13:33:52 +0000 (13:33 +0000)]
Fixed typo
Sergey Poznyakoff [Tue, 17 Feb 2004 13:33:14 +0000 (13:33 +0000)]
Minor changes
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
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>.
Sergey Poznyakoff [Wed, 21 Jan 2004 10:38:38 +0000 (10:38 +0000)]
Updated
Sergey Poznyakoff [Wed, 21 Jan 2004 10:37:28 +0000 (10:37 +0000)]
Updated
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.
Sergey Poznyakoff [Wed, 21 Jan 2004 10:32:40 +0000 (10:32 +0000)]
Updated
Sergey Poznyakoff [Wed, 21 Jan 2004 10:32:06 +0000 (10:32 +0000)]
Require automake-1.8/autoconf-2.59. Removed m4/Makefile.
Sergey Poznyakoff [Wed, 21 Jan 2004 10:31:06 +0000 (10:31 +0000)]
Removed m4
Sergey Poznyakoff [Tue, 20 Jan 2004 23:32:26 +0000 (23:32 +0000)]
Updated
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
Sergey Poznyakoff [Sat, 3 Jan 2004 22:35:22 +0000 (22:35 +0000)]
Updated
Sergey Poznyakoff [Sat, 3 Jan 2004 22:27:58 +0000 (22:27 +0000)]
Added recurse.sh and mksparse.c
Sergey Poznyakoff [Sat, 3 Jan 2004 22:27:36 +0000 (22:27 +0000)]
New file.
Sergey Poznyakoff [Sat, 3 Jan 2004 22:26:58 +0000 (22:26 +0000)]
New test case.
Sergey Poznyakoff [Sat, 3 Jan 2004 22:26:30 +0000 (22:26 +0000)]
(time_to_start_writing): Changed data type.
Sergey Poznyakoff [Sat, 3 Jan 2004 22:26:11 +0000 (22:26 +0000)]
(decode_options): More option compatibility checks (moved from buffer.c)
Sergey Poznyakoff [Sat, 3 Jan 2004 22:25:41 +0000 (22:25 +0000)]
Updated assignment to write_archive_to_stdout
Sergey Poznyakoff [Sat, 3 Jan 2004 22:25:24 +0000 (22:25 +0000)]
Updated invocations of safer_name_suffix
Sergey Poznyakoff [Sat, 3 Jan 2004 22:24:35 +0000 (22:24 +0000)]
(maybe_backup_file): 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.
Sergey Poznyakoff [Sat, 3 Jan 2004 22:22:01 +0000 (22:22 +0000)]
New option --no-po
Sergey Poznyakoff [Sat, 3 Jan 2004 11:46:36 +0000 (11:46 +0000)]
Updated
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.
Sergey Poznyakoff [Sat, 3 Jan 2004 11:44:45 +0000 (11:44 +0000)]
(sparse_diff_file): Bugfix. Thanks Martin Simmons for the patch.
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.
uid65697 [Thu, 25 Dec 2003 10:26:40 +0000 (10:26 +0000)]
Updated
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.
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
uid65697 [Thu, 25 Dec 2003 10:20:32 +0000 (10:20 +0000)]
(tar_stat_info.atime_nsec,mtime_nsec,ctime_nsec): New members.
uid65697 [Thu, 25 Dec 2003 10:20:19 +0000 (10:20 +0000)]
(sys_stat_nanoseconds): New function
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
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.