]> Dogcows Code - chaz/tar/log
chaz/tar
20 years agoMerge recent gnulib changes, and remove some lint.
Paul Eggert [Mon, 5 Apr 2004 02:29:18 +0000 (02:29 +0000)] 
Merge recent gnulib changes, and remove some lint.

20 years agoUpdated
Sergey Poznyakoff [Sun, 4 Apr 2004 13:33:54 +0000 (13:33 +0000)] 
Updated

20 years agoAdded mksparse
Sergey Poznyakoff [Sun, 4 Apr 2004 13:32:11 +0000 (13:32 +0000)] 
Added mksparse

20 years agoProtect inclusion of <sys/time.h>
Sergey Poznyakoff [Sun, 4 Apr 2004 13:31:26 +0000 (13:31 +0000)] 
Protect inclusion of <sys/time.h>
by ifdef.
Declare time() if HAVE_DECL_TIME is 0

20 years agoRaised version number to 1.13.94
Sergey Poznyakoff [Sun, 4 Apr 2004 13:30:42 +0000 (13:30 +0000)] 
Raised version number to 1.13.94

20 years agoUpdated
Sergey Poznyakoff [Sun, 4 Apr 2004 13:30:14 +0000 (13:30 +0000)] 
Updated

20 years agoUpdated
Sergey Poznyakoff [Sun, 4 Apr 2004 10:12:56 +0000 (10:12 +0000)] 
Updated

20 years agoAdded missing call to 'after'
Sergey Poznyakoff [Sun, 4 Apr 2004 10:12:08 +0000 (10:12 +0000)] 
Added missing call to 'after'

20 years agoUpdated
Sergey Poznyakoff [Sun, 4 Apr 2004 09:53:18 +0000 (09:53 +0000)] 
Updated

20 years agoUpdated
Sergey Poznyakoff [Sun, 4 Apr 2004 09:50:42 +0000 (09:50 +0000)] 
Updated

20 years agoUpdated
Sergey Poznyakoff [Sun, 4 Apr 2004 09:48:45 +0000 (09:48 +0000)] 
Updated

20 years agoAdded Mads Martin Joergensen
Sergey Poznyakoff [Sun, 4 Apr 2004 09:47:35 +0000 (09:47 +0000)] 
Added Mads Martin Joergensen

20 years ago(usage): Prototype moved to common.h
Sergey Poznyakoff [Sun, 4 Apr 2004 09:47:08 +0000 (09:47 +0000)] 
(usage): Prototype moved to common.h

20 years agoinclude <fnmatch.h>
Sergey Poznyakoff [Sun, 4 Apr 2004 09:43:09 +0000 (09:43 +0000)] 
include <fnmatch.h>
(size_decoder): Assign to both st->archive_file_size and
st->stat.st_size.
(st->stat.st_size): Assign to st->stat.st_size
(sparse_numbytes_decoder): Removed unused variable

20 years ago(utf8_convert): Changed prototype
Sergey Poznyakoff [Sun, 4 Apr 2004 09:42:27 +0000 (09:42 +0000)] 
(utf8_convert): Changed prototype
(get_input_charset): Removed unused variable

20 years ago(usage): Prototype moved to common.h
Sergey Poznyakoff [Sun, 4 Apr 2004 09:41:16 +0000 (09:41 +0000)] 
(usage): Prototype moved to common.h

20 years agoInclude <sys/time.h> and <utime.h> when available
Sergey Poznyakoff [Sun, 4 Apr 2004 09:33:41 +0000 (09:33 +0000)] 
Include <sys/time.h> and <utime.h> when available

20 years ago(struct tar_sparse_optab.sparse_member_p)
Sergey Poznyakoff [Sun, 4 Apr 2004 09:33:25 +0000 (09:33 +0000)] 
(struct tar_sparse_optab.sparse_member_p)
(struct tar_sparse_optab.fixup_header): New member
(tar_sparse_member_p): New function.
(tar_sparse_init): Return true if decode_header is not provided
(tar_sparse_fixup_header)
(sparse_member_p,sparse_fixup_header)
(sparse_skip_file)
(oldgnu_sparse_member_p,oldgnu_fixup_header,star_sparse_member_p)
(star_fixup_header, pax_sparse_member_p): New function
(pax_decode_header): Remove

20 years agoinclude "common.h"
Sergey Poznyakoff [Sun, 4 Apr 2004 09:32:33 +0000 (09:32 +0000)] 
include "common.h"

20 years ago(decode_header): Use sparse_fixup_header to correct
Sergey Poznyakoff [Sun, 4 Apr 2004 09:31:44 +0000 (09:31 +0000)] 
(decode_header): Use sparse_fixup_header to correct
the st_size value.
(print_header): Do not rely on GNUTYPE_SPARSE type.
Use st->stat.st_size to print real file size.
(skip_member): Assign stat_info.file_name to save_name. This fixes
bug reported by Mads Martin Joergensen <mmj@suse.de>
Use sparse_skip_file() to skip sparse members.

20 years ago(extract_archive): Use sparse_member_p instead of GNUTYPE_SPARSE.
Sergey Poznyakoff [Sun, 4 Apr 2004 09:26:11 +0000 (09:26 +0000)] 
(extract_archive): Use sparse_member_p instead of GNUTYPE_SPARSE.

20 years agoRemoved unused variables
Sergey Poznyakoff [Sun, 4 Apr 2004 09:25:48 +0000 (09:25 +0000)] 
Removed unused variables

20 years ago(diff_archive): Use is_sparse member instead of GNUTYPE_SPARSE.
Sergey Poznyakoff [Sun, 4 Apr 2004 09:25:30 +0000 (09:25 +0000)] 
(diff_archive): Use is_sparse member instead of GNUTYPE_SPARSE.

20 years agoAdded missing prototypes
Sergey Poznyakoff [Sun, 4 Apr 2004 09:25:01 +0000 (09:25 +0000)] 
Added missing prototypes

20 years agoAdded new tests
Sergey Poznyakoff [Sun, 4 Apr 2004 09:24:44 +0000 (09:24 +0000)] 
Added new tests

20 years agoUpdated
Sergey Poznyakoff [Fri, 26 Mar 2004 19:43:51 +0000 (19:43 +0000)] 
Updated

20 years agoAdd longv7.sh
Sergey Poznyakoff [Fri, 26 Mar 2004 19:40:27 +0000 (19:40 +0000)] 
Add longv7.sh

20 years ago(write_long_name): Do not allow more than
Sergey Poznyakoff [Fri, 26 Mar 2004 19:39:40 +0000 (19:39 +0000)] 
(write_long_name): Do not allow more than
NAME_FIELD_SIZE-1 characters in a file name for V7 format
archives.

20 years agoUpdated
Sergey Poznyakoff [Mon, 22 Mar 2004 12:01:46 +0000 (12:01 +0000)] 
Updated

20 years agoUpdated to match the recent changes
Sergey Poznyakoff [Mon, 22 Mar 2004 12:00:12 +0000 (12:00 +0000)] 
Updated to match the recent changes

20 years ago(open_archive): Clear read_full_records_option
Sergey Poznyakoff [Mon, 22 Mar 2004 11:59:35 +0000 (11:59 +0000)] 
(open_archive): Clear read_full_records_option
if reading from a pipe.
(short_read): Display warning about the deduced record size
if version > 1

20 years agoUpdated
Sergey Poznyakoff [Mon, 22 Mar 2004 09:18:36 +0000 (09:18 +0000)] 
Updated

20 years agoUse genfile instead of dd
Sergey Poznyakoff [Mon, 22 Mar 2004 09:17:48 +0000 (09:17 +0000)] 
Use genfile instead of dd

20 years ago(to_decimal): New function.
Sergey Poznyakoff [Mon, 22 Mar 2004 09:17:18 +0000 (09:17 +0000)] 
(to_decimal): New function.
(xheader_format_name): Use to_decimal() instead of snprintf.

20 years ago(start_header): Check for GNU_FORMAT if incremental_option is set.
Sergey Poznyakoff [Mon, 22 Mar 2004 09:16:49 +0000 (09:16 +0000)] 
(start_header): Check for GNU_FORMAT if incremental_option is set.

20 years agoAdded gl_FUNC_STRTOULL
Sergey Poznyakoff [Mon, 22 Mar 2004 09:15:56 +0000 (09:15 +0000)] 
Added gl_FUNC_STRTOULL

20 years agoUpdated
Sergey Poznyakoff [Fri, 12 Mar 2004 10:39:27 +0000 (10:39 +0000)] 
Updated

20 years ago(read_and): Stop processing the archive after
Sergey Poznyakoff [Fri, 12 Mar 2004 10:38:46 +0000 (10:38 +0000)] 
(read_and): Stop processing the archive after
encountering a single zero record. Many old archives contain
arbitrary garbage after it.
The warning is issued anyway.

20 years agoUpdated
Sergey Poznyakoff [Tue, 2 Mar 2004 09:36:20 +0000 (09:36 +0000)] 
Updated

20 years ago(utf8_convert): Indentation fix.
Sergey Poznyakoff [Tue, 2 Mar 2004 09:35:13 +0000 (09:35 +0000)] 
(utf8_convert): Indentation fix.

20 years agoAdded Leland Lucius
Sergey Poznyakoff [Tue, 2 Mar 2004 09:34:44 +0000 (09:34 +0000)] 
Added Leland Lucius

20 years ago(rmt_lseek__,rmt_ioctl__): Bugfix. The
Sergey Poznyakoff [Tue, 2 Mar 2004 09:34:06 +0000 (09:34 +0000)] 
(rmt_lseek__,rmt_ioctl__): Bugfix. The
conversion buffer was not null terminated. Fix provided
by Leland Lucius <llucius@tiny.net>

20 years agoUpdated
Sergey Poznyakoff [Sun, 29 Feb 2004 10:21:17 +0000 (10:21 +0000)] 
Updated

20 years agoUpdated
Sergey Poznyakoff [Sun, 29 Feb 2004 10:18:05 +0000 (10:18 +0000)] 
Updated

20 years agoAdded multi-fail.sh
Sergey Poznyakoff [Sun, 29 Feb 2004 10:17:18 +0000 (10:17 +0000)] 
Added multi-fail.sh

20 years agoNew test.
Sergey Poznyakoff [Sun, 29 Feb 2004 10:16:33 +0000 (10:16 +0000)] 
New test.

20 years ago(sys_child_open_for_uncompress): Minor stylistic fix.
Sergey Poznyakoff [Sun, 29 Feb 2004 10:16:02 +0000 (10:16 +0000)] 
(sys_child_open_for_uncompress): Minor stylistic fix.

20 years ago(flush_read): Bugfix: the condition at line 714 included
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.

20 years agoUpdated
Sergey Poznyakoff [Sun, 29 Feb 2004 00:15:05 +0000 (00:15 +0000)] 
Updated

20 years agoNew file
Sergey Poznyakoff [Sun, 29 Feb 2004 00:09:31 +0000 (00:09 +0000)] 
New file

20 years ago Accomodate for the new testsuite logic
Sergey Poznyakoff [Sun, 29 Feb 2004 00:07:00 +0000 (00:07 +0000)] 
 Accomodate for the new testsuite logic

20 years agoRewritten
Sergey Poznyakoff [Sun, 29 Feb 2004 00:06:36 +0000 (00:06 +0000)] 
Rewritten

20 years agoAdded new tests
Sergey Poznyakoff [Sun, 29 Feb 2004 00:06:16 +0000 (00:06 +0000)] 
Added new tests

20 years agoNew options: --utc and keep-newer-files
Sergey Poznyakoff [Sun, 29 Feb 2004 00:06:03 +0000 (00:06 +0000)] 
New options: --utc and keep-newer-files

20 years ago(tartime): Print UTC if --utc was given.
Sergey Poznyakoff [Sun, 29 Feb 2004 00:05:31 +0000 (00:05 +0000)] 
(tartime): Print UTC if --utc was given.

20 years agoHandle --keep-newer-files option
Sergey Poznyakoff [Sun, 29 Feb 2004 00:05:12 +0000 (00:05 +0000)] 
Handle --keep-newer-files option

20 years ago(utc_option): new global
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

20 years agoRemoved spurious AC_CHECK_LIB(iconv)
Sergey Poznyakoff [Sun, 29 Feb 2004 00:04:21 +0000 (00:04 +0000)] 
Removed spurious AC_CHECK_LIB(iconv)

20 years agoUpdated
Sergey Poznyakoff [Sun, 29 Feb 2004 00:04:03 +0000 (00:04 +0000)] 
Updated

20 years agoAppend period to dircategory entry.
Paul Eggert [Thu, 26 Feb 2004 18:02:50 +0000 (18:02 +0000)] 
Append period to dircategory entry.

20 years agoUpdated
Sergey Poznyakoff [Tue, 24 Feb 2004 15:28:27 +0000 (15:28 +0000)] 
Updated

20 years ago(decode_header): Call xheader_decode before the assignment to current_stat_info...
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.

20 years agoInvoke AM_ICONV, to define ICONV_CONST if needed.
Paul Eggert [Mon, 23 Feb 2004 22:31:20 +0000 (22:31 +0000)] 
Invoke AM_ICONV, to define ICONV_CONST if needed.

20 years agoUpdated
Sergey Poznyakoff [Mon, 23 Feb 2004 10:07:21 +0000 (10:07 +0000)] 
Updated

20 years agoUse prereq() instead of passing arguments to 'before'.
Sergey Poznyakoff [Mon, 23 Feb 2004 10:05:42 +0000 (10:05 +0000)] 
Use prereq() instead of passing arguments to 'before'.

20 years agoMove testing of the prerequisite archive formats
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

20 years agoUpdated
Sergey Poznyakoff [Mon, 23 Feb 2004 10:04:49 +0000 (10:04 +0000)] 
Updated

20 years agoAdded UTF-8 support. Finished global extended header support.
Sergey Poznyakoff [Sun, 22 Feb 2004 21:00:07 +0000 (21:00 +0000)] 
Added UTF-8 support. Finished global extended header support.

20 years agoGive credit to Andreas Schuldei.
Sergey Poznyakoff [Sun, 22 Feb 2004 20:55:12 +0000 (20:55 +0000)] 
Give credit to Andreas Schuldei.

20 years agoUse keywords from the global headers.
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.

20 years agoDecode encountered global headers.
Sergey Poznyakoff [Sun, 22 Feb 2004 20:54:04 +0000 (20:54 +0000)] 
Decode encountered global headers.

20 years ago(write_header_name) In pax format, use "path" keyword if the file name is not ASCII
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

20 years agoAdded utf8.c
Sergey Poznyakoff [Sun, 22 Feb 2004 20:52:56 +0000 (20:52 +0000)] 
Added utf8.c

20 years agoConversions to and from utf-8.
Sergey Poznyakoff [Sun, 22 Feb 2004 20:52:34 +0000 (20:52 +0000)] 
Conversions to and from utf-8.

20 years agoDetect libiconv
Sergey Poznyakoff [Sun, 22 Feb 2004 20:51:10 +0000 (20:51 +0000)] 
Detect libiconv

20 years agoMinor fix
Sergey Poznyakoff [Sun, 22 Feb 2004 20:50:33 +0000 (20:50 +0000)] 
Minor fix

20 years agoUpdated
Sergey Poznyakoff [Sat, 21 Feb 2004 09:41:19 +0000 (09:41 +0000)] 
Updated

20 years agoSorry, the version number is .93
Sergey Poznyakoff [Sat, 21 Feb 2004 09:40:45 +0000 (09:40 +0000)] 
Sorry, the version number is .93

20 years agoUpdated
Sergey Poznyakoff [Sat, 21 Feb 2004 09:38:29 +0000 (09:38 +0000)] 
Updated

20 years agoAdded listed01.sh
Sergey Poznyakoff [Sat, 21 Feb 2004 09:36:15 +0000 (09:36 +0000)] 
Added listed01.sh

20 years agoCheck listed incremental backups on individual files.
Sergey Poznyakoff [Sat, 21 Feb 2004 09:35:44 +0000 (09:35 +0000)] 
Check listed incremental backups on individual files.

20 years agoMinor stylistic fixes.
Sergey Poznyakoff [Sat, 21 Feb 2004 09:35:10 +0000 (09:35 +0000)] 
Minor stylistic fixes.

20 years agoRaised patchlevel to 92a
Sergey Poznyakoff [Sat, 21 Feb 2004 09:34:39 +0000 (09:34 +0000)] 
Raised patchlevel to 92a

20 years agoUpdated
Sergey Poznyakoff [Sat, 21 Feb 2004 09:34:22 +0000 (09:34 +0000)] 
Updated

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

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