]>
Dogcows Code - chaz/tar/log
Sergey Poznyakoff [Thu, 7 Apr 2005 17:27:30 +0000 (17:27 +0000)]
Modified to match the new behavior
Sergey Poznyakoff [Thu, 7 Apr 2005 17:27:07 +0000 (17:27 +0000)]
Assign orig_file_name
to save_name uniformly over the program. This fixes matching
directory names at the start of an archive volume.
Sergey Poznyakoff [Thu, 7 Apr 2005 17:26:42 +0000 (17:26 +0000)]
(diff_init): Read directory file if in listed
incremental. This prevents spurious 'Contents differ' diagnostics.
(diff_archive): Minor fixes to text messages
(diff_file,diff_dumpdir,diff_multivol): Assign orig_file_name
to save_name uniformly over the program. This fixes matching
directory names at the start of an archive volume.
Sergey Poznyakoff [Thu, 7 Apr 2005 17:26:11 +0000 (17:26 +0000)]
(flush_write): Warn when the name of the archive
straddling volume boundary is longer than 100 characters. Earlier
behavior was to issue a fatal error.
(struct zip_magic): Reverted part of changes from 2005-04-04.
They make the maintenance too costly. Removing `unsigned'
qualifier from `magic' member should be enough.
Sergey Poznyakoff [Thu, 7 Apr 2005 17:25:29 +0000 (17:25 +0000)]
Minor fixes to text messages. Proposed by Benno Schulenberg.
(extract_file): Assign orig_file_name
to save_name uniformly over the program. This fixes matching
directory names at the start of an archive volume.
Sergey Poznyakoff [Thu, 7 Apr 2005 17:24:56 +0000 (17:24 +0000)]
Minor fixes to text messages. Proposed by Benno Schulenberg.
Paul Eggert [Mon, 4 Apr 2005 18:46:00 +0000 (18:46 +0000)]
Sort and simplify.
Paul Eggert [Mon, 4 Apr 2005 18:37:52 +0000 (18:37 +0000)]
Update copyright date.
Paul Eggert [Mon, 4 Apr 2005 18:35:53 +0000 (18:35 +0000)]
Rename config/ to build-aux/.
Paul Eggert [Mon, 4 Apr 2005 18:31:44 +0000 (18:31 +0000)]
Spelling fixes.
Paul Eggert [Mon, 4 Apr 2005 18:22:44 +0000 (18:22 +0000)]
* src/buffer.c: Fix struct zip_magic to avoid problems with pedantic
C compilers. Make 'magic' const and redo it to save alignment and space.
Paul Eggert [Mon, 4 Apr 2005 18:21:55 +0000 (18:21 +0000)]
(struct zip_magic): Use char arrays, not pointers.
The unsigned char * pointer ran afoul of pedantic C compilers, and
we didn't need pointers anyway. Put the size field before the
data to avoid unnecessary padding. All uses changed.
(magic) Make it const, since it doesn't change. All uses changed.
Paul Eggert [Sat, 2 Apr 2005 06:39:37 +0000 (06:39 +0000)]
* src/xheader.c (decode_record): Don't dump core when given
a corrupted extended header.
Paul Eggert [Sat, 2 Apr 2005 06:39:19 +0000 (06:39 +0000)]
(decode_record): Don't dump core when given
a corrupted extended header. Problem reported by Jim Meyering.
Also, check for other ways that the header might be invalid,
e.g., missing newline at end. Do not allow keys with nulls.
Allow blanks before and after length, as POSIX requires.
Do not allow leading "-" in length. Check for length overflow.
(xheader_decode, xheader_decode_global): Let decode_record
check for exhaustion of record.
(xheader_read): Null-terminate the extended record;
decode_record relies on this.
Paul Eggert [Mon, 21 Mar 2005 21:56:02 +0000 (21:56 +0000)]
* bootstrap (TP_URL): Change from
<http://www2.iro.umontreal.ca/~gnutra/po/maint/tar/> to
<http://www.iro.umontreal.ca/translation/maint/tar/> to avoid
some redirection glitches.
Use "trap - 0" rather than "trap 0" to fix a POSIX-conformance bug.
* doc/.cvsignore: Change "tar.info" to "tar.info*". Sort.
Sergey Poznyakoff [Thu, 3 Mar 2005 23:17:07 +0000 (23:17 +0000)]
Updated
Sergey Poznyakoff [Thu, 3 Mar 2005 23:16:03 +0000 (23:16 +0000)]
(restore_fs): Use root_fs
Sergey Poznyakoff [Thu, 3 Mar 2005 23:14:52 +0000 (23:14 +0000)]
Use `head -n 1'. Provide missing argument to ${MT_STATUS}. Fixed typo in MT_OFFLINE assignment. Proposed by Jan Merka.
Sergey Poznyakoff [Thu, 3 Mar 2005 23:14:23 +0000 (23:14 +0000)]
Use `head -n 1'. Provide missing argument to ${MT_STATUS}. Proposed by Jan Merka.
Sergey Poznyakoff [Thu, 3 Mar 2005 23:13:30 +0000 (23:13 +0000)]
(sparse_scan_file): Bugfix. offset had incorrect type.
Sergey Poznyakoff [Thu, 3 Mar 2005 23:13:14 +0000 (23:13 +0000)]
Correctly parse empty uname/gname
Sergey Poznyakoff [Thu, 3 Mar 2005 23:13:04 +0000 (23:13 +0000)]
(print_header): Print UID/GID in case of
empty user/group name. This could occur when dumping
files belonging to non-existing users and when listing
broken archives.
Reported by Igor Lautar.
Sergey Poznyakoff [Tue, 15 Feb 2005 15:25:14 +0000 (15:25 +0000)]
Updated
Sergey Poznyakoff [Tue, 15 Feb 2005 15:24:51 +0000 (15:24 +0000)]
Use -print with find
Sergey Poznyakoff [Tue, 15 Feb 2005 15:24:35 +0000 (15:24 +0000)]
Replace strdup with xstrdup
Sergey Poznyakoff [Tue, 15 Feb 2005 14:47:06 +0000 (14:47 +0000)]
Updated
Sergey Poznyakoff [Tue, 15 Feb 2005 14:46:16 +0000 (14:46 +0000)]
Added reference to bug-tar archive
Sergey Poznyakoff [Thu, 10 Feb 2005 22:53:22 +0000 (22:53 +0000)]
Updated
Sergey Poznyakoff [Thu, 10 Feb 2005 22:52:13 +0000 (22:52 +0000)]
Added append01.at
Sergey Poznyakoff [Thu, 10 Feb 2005 22:52:00 +0000 (22:52 +0000)]
Test appending of files with long names
Sergey Poznyakoff [Thu, 10 Feb 2005 22:51:21 +0000 (22:51 +0000)]
(read_header): Removed assignment to oldgnu_header.isextended. It was breaking append mode.
Sergey Poznyakoff [Thu, 10 Feb 2005 22:51:04 +0000 (22:51 +0000)]
Added Tim Adye. Fixed UTF.
Sergey Poznyakoff [Sun, 6 Feb 2005 20:02:23 +0000 (20:02 +0000)]
Updated
Sergey Poznyakoff [Sun, 6 Feb 2005 20:01:22 +0000 (20:01 +0000)]
Various fixes in help and diagnostic messages
Sergey Poznyakoff [Sun, 6 Feb 2005 20:00:56 +0000 (20:00 +0000)]
Merge list of required modules from paxutils with that from tar proper
Sergey Poznyakoff [Sun, 6 Feb 2005 20:00:09 +0000 (20:00 +0000)]
List of required gnulib modules.
Sergey Poznyakoff [Sat, 5 Feb 2005 22:25:50 +0000 (22:25 +0000)]
Updated
Sergey Poznyakoff [Sat, 5 Feb 2005 22:08:49 +0000 (22:08 +0000)]
Reverted changes
Sergey Poznyakoff [Sat, 5 Feb 2005 22:03:10 +0000 (22:03 +0000)]
(options): Improved sorting. Document --backup=off.
(decode_options): Clear backup_option if necessary.
Sergey Poznyakoff [Sat, 5 Feb 2005 22:02:08 +0000 (22:02 +0000)]
(sys_exec_command): Use xclose, xpipe, xfork, xdup2 and exec_fatal.
Sergey Poznyakoff [Sat, 5 Feb 2005 22:01:49 +0000 (22:01 +0000)]
(exec_error,fork_error,dup2_error,pipe_error): Removed unneeded functions.
Sergey Poznyakoff [Sat, 5 Feb 2005 22:01:08 +0000 (22:01 +0000)]
(extract_archive): Do not check for EXTRACT_OVER_PIPE, decode_options() does this.
Sergey Poznyakoff [Sat, 5 Feb 2005 22:00:48 +0000 (22:00 +0000)]
Code clean up.
Sergey Poznyakoff [Sat, 5 Feb 2005 22:00:29 +0000 (22:00 +0000)]
(EXTRACT_OVER_PIPE): New macro
Sergey Poznyakoff [Sat, 5 Feb 2005 10:49:26 +0000 (10:49 +0000)]
Updated
Sergey Poznyakoff [Sat, 5 Feb 2005 10:35:46 +0000 (10:35 +0000)]
Added Hansjoerg Lipp
Sergey Poznyakoff [Sat, 5 Feb 2005 10:35:18 +0000 (10:35 +0000)]
Handle new options --to-command,--ignore-command-error
Sergey Poznyakoff [Sat, 5 Feb 2005 10:34:46 +0000 (10:34 +0000)]
(sys_exec_command,sys_wait_command): New functions
Sergey Poznyakoff [Sat, 5 Feb 2005 10:34:25 +0000 (10:34 +0000)]
(exec_error, fork_error, dup_error,pipe_error): New functions
Sergey Poznyakoff [Sat, 5 Feb 2005 10:34:01 +0000 (10:34 +0000)]
(extract_file): Handle to_command_option
Fix error recovery: decrease `size' by `written', not
by `count', otherwise tar misses the next header
Do not diagnose write errror if to_command_option
is set, since the command may have exited prematurely.
It would be better to check for sigpipe, though.
(prepare_to_extract): Handle to_command_option
Sergey Poznyakoff [Sat, 5 Feb 2005 10:33:25 +0000 (10:33 +0000)]
(to_command_option)
(ignore_command_error_option): New globals
(sys_exec_command,sys_wait_command): New commands
Sergey Poznyakoff [Sat, 5 Feb 2005 10:33:05 +0000 (10:33 +0000)]
Do not use 8-bit chars in comments
Sergey Poznyakoff [Sat, 5 Feb 2005 10:32:35 +0000 (10:32 +0000)]
Get setenv module from gnulib
Paul Eggert [Fri, 4 Feb 2005 01:52:48 +0000 (01:52 +0000)]
Improved checksum diagnostics; adjust to gnulib changes.
Paul Eggert [Fri, 4 Feb 2005 01:52:20 +0000 (01:52 +0000)]
(from_header): New arg OCTAL_ONLY, normally false.
All uses changed. Fix typo that sometimes suppressed all "Archive
contains obsolescent base-64 headers" warnings, not just the first
one.
(tar_checksum): Accept only octal checksums, since they aren't
supposed to overflow into weird formats.
Paul Eggert [Fri, 4 Feb 2005 01:44:45 +0000 (01:44 +0000)]
Adjust to gnulib changes.
* lib/.cvsignore: Add chdir-long.c, chdir-long.h, memrchr.c,
memrchr.h, openat.c, openat.h. Remove pathmax.h (added by
mistake, perhaps?), sysexit.h (my typo), xstrdup.c (gnulib removed
this file). Sort entries.
Sergey Poznyakoff [Fri, 4 Feb 2005 01:43:41 +0000 (01:43 +0000)]
Updated
Sergey Poznyakoff [Fri, 4 Feb 2005 01:42:58 +0000 (01:42 +0000)]
(update_argv): Changed type to void
Sergey Poznyakoff [Fri, 4 Feb 2005 01:42:33 +0000 (01:42 +0000)]
Removed unused variables.
Sergey Poznyakoff [Fri, 4 Feb 2005 01:41:32 +0000 (01:41 +0000)]
Further rewrite
Sergey Poznyakoff [Fri, 4 Feb 2005 00:05:46 +0000 (00:05 +0000)]
Updated
Sergey Poznyakoff [Fri, 4 Feb 2005 00:04:55 +0000 (00:04 +0000)]
Determine path to the tar executable.
Sergey Poznyakoff [Fri, 4 Feb 2005 00:04:40 +0000 (00:04 +0000)]
(options) Minor spelling fix
Sergey Poznyakoff [Fri, 4 Feb 2005 00:04:16 +0000 (00:04 +0000)]
Add translators' comments
Sergey Poznyakoff [Fri, 4 Feb 2005 00:03:59 +0000 (00:03 +0000)]
(extract_archive): Rewritten
Sergey Poznyakoff [Fri, 4 Feb 2005 00:03:42 +0000 (00:03 +0000)]
(start_private_header,write_header_name)
(dump_hard_link): Restore compatibility with 1.13.25
Sergey Poznyakoff [Fri, 4 Feb 2005 00:03:15 +0000 (00:03 +0000)]
(OLDGNU_NAME_FIELD_SIZE): New constant
Sergey Poznyakoff [Thu, 3 Feb 2005 16:29:58 +0000 (16:29 +0000)]
Updated
Sergey Poznyakoff [Thu, 3 Feb 2005 16:29:45 +0000 (16:29 +0000)]
(RE_CHECK): Added missing space
Sergey Poznyakoff [Thu, 3 Feb 2005 16:29:27 +0000 (16:29 +0000)]
sort ls output
Sergey Poznyakoff [Thu, 3 Feb 2005 16:29:08 +0000 (16:29 +0000)]
Add translators' comment
Sergey Poznyakoff [Thu, 3 Feb 2005 16:28:37 +0000 (16:28 +0000)]
Use quote()
Sergey Poznyakoff [Thu, 3 Feb 2005 16:28:12 +0000 (16:28 +0000)]
(short_read): Use ngettext()
(new_volume): use quote().
Sergey Poznyakoff [Thu, 3 Feb 2005 16:27:11 +0000 (16:27 +0000)]
Added tests/genfile.c
Sergey Poznyakoff [Thu, 3 Feb 2005 00:06:34 +0000 (00:06 +0000)]
Updated
Sergey Poznyakoff [Thu, 3 Feb 2005 00:04:43 +0000 (00:04 +0000)]
Extract and compare sparse file
Sergey Poznyakoff [Thu, 3 Feb 2005 00:04:30 +0000 (00:04 +0000)]
Skip the test on filesystems that do not update ctime of a file when renaming it. To be reverted when the new incremental mode is ready.
Sergey Poznyakoff [Thu, 3 Feb 2005 00:04:02 +0000 (00:04 +0000)]
Added sparse02.at
Sergey Poznyakoff [Thu, 3 Feb 2005 00:03:44 +0000 (00:03 +0000)]
Test extracting sparse files over a pipe.
Sergey Poznyakoff [Wed, 2 Feb 2005 11:02:12 +0000 (11:02 +0000)]
Updated
Sergey Poznyakoff [Wed, 2 Feb 2005 11:01:49 +0000 (11:01 +0000)]
Extract sparse files even if the output fd is not seekable.
Sergey Poznyakoff [Tue, 1 Feb 2005 05:52:10 +0000 (05:52 +0000)]
Updated
Sergey Poznyakoff [Tue, 1 Feb 2005 05:51:24 +0000 (05:51 +0000)]
Ignore all *.m4 files
Sergey Poznyakoff [Tue, 1 Feb 2005 05:48:06 +0000 (05:48 +0000)]
Updated
Sergey Poznyakoff [Tue, 1 Feb 2005 05:47:20 +0000 (05:47 +0000)]
Add append.at
Sergey Poznyakoff [Tue, 1 Feb 2005 05:47:05 +0000 (05:47 +0000)]
Insert Emacs magic to the first line.
Sergey Poznyakoff [Tue, 1 Feb 2005 05:46:49 +0000 (05:46 +0000)]
Add a comment to lib/Makefile.am saying that this is an autogenerated file.
Exit with code 1 if any of autotools fails.
Sergey Poznyakoff [Tue, 18 Jan 2005 01:53:09 +0000 (01:53 +0000)]
Updated
Sergey Poznyakoff [Tue, 18 Jan 2005 01:20:41 +0000 (01:20 +0000)]
Updated
Sergey Poznyakoff [Tue, 18 Jan 2005 01:18:45 +0000 (01:18 +0000)]
Remove inclusion of obstack.h
Sergey Poznyakoff [Tue, 18 Jan 2005 01:18:07 +0000 (01:18 +0000)]
Updated
Sergey Poznyakoff [Tue, 18 Jan 2005 01:15:48 +0000 (01:15 +0000)]
Moved rendition macros and option value definitions from tar.texi into separate files
Sergey Poznyakoff [Tue, 18 Jan 2005 01:14:04 +0000 (01:14 +0000)]
Document new options. Moved rendition macros and option value definitions into separate files
Sergey Poznyakoff [Tue, 18 Jan 2005 01:12:34 +0000 (01:12 +0000)]
New options --unquote (--no-unquote) and --add-file
(add_file_id,read_name_from_file,update_argv): New functions
(parse_opt): Rewritten handling of -T option. Handle hidden
--HANG option for debugging purposes.
(decode_options): Init unquote_option to true. Init argv_stk.
Remove unneded references to files_from_option
Sergey Poznyakoff [Tue, 18 Jan 2005 01:11:56 +0000 (01:11 +0000)]
(name_file): Removed variable.
(read_name_from_file): Removed function. All callers changed.
(name_close): Removed function. All callers changed.
Sergey Poznyakoff [Tue, 18 Jan 2005 01:11:22 +0000 (01:11 +0000)]
(stat_fatal): New function
Sergey Poznyakoff [Tue, 18 Jan 2005 01:11:05 +0000 (01:11 +0000)]
Remove inclusion of obstack.h src/incremen.c
Sergey Poznyakoff [Tue, 18 Jan 2005 01:10:39 +0000 (01:10 +0000)]
Include obstack.h
(files_from_option): Removed
(unquote_option): New variable
(stat_fatal): New function
(name_close): Removed function.
Sergey Poznyakoff [Tue, 18 Jan 2005 01:10:12 +0000 (01:10 +0000)]
Raised version number to 1.15.2
Sergey Poznyakoff [Fri, 14 Jan 2005 09:27:03 +0000 (09:27 +0000)]
Complete the reference
This page took 0.051562 seconds and 4 git commands to generate.