]> Dogcows Code - chaz/tar/log
chaz/tar
19 years agoInclude paxlib.h instead of paxerror.h
Sergey Poznyakoff [Sat, 21 May 2005 23:10:57 +0000 (23:10 +0000)] 
Include paxlib.h instead of paxerror.h
(safer_name_suffix,removed_prefixes_p): Removed. The functions are
imported from paxutils

19 years agoUpdate invocations of safer_name_suffix()
Sergey Poznyakoff [Sat, 21 May 2005 23:10:42 +0000 (23:10 +0000)] 
Update invocations of safer_name_suffix()

19 years agoAdd new paxutils files
Sergey Poznyakoff [Sat, 21 May 2005 23:09:42 +0000 (23:09 +0000)] 
Add new paxutils files

19 years agoUpdated
Sergey Poznyakoff [Sat, 21 May 2005 23:09:16 +0000 (23:09 +0000)] 
Updated

19 years agoUpdated
Sergey Poznyakoff [Thu, 19 May 2005 15:35:14 +0000 (15:35 +0000)] 
Updated

19 years agoRemove defines and declarations imported from paxutils
Sergey Poznyakoff [Thu, 19 May 2005 15:34:19 +0000 (15:34 +0000)] 
Remove defines and declarations imported from paxutils

19 years agoAdd paxerror.c paxexit.c paxconvert.c
Sergey Poznyakoff [Thu, 19 May 2005 15:33:45 +0000 (15:33 +0000)] 
Add paxerror.c paxexit.c paxconvert.c

19 years ago(libtar_a_SOURCES): Add paxerror.c paxexit.c paxconvert.c
Sergey Poznyakoff [Thu, 19 May 2005 15:33:17 +0000 (15:33 +0000)] 
(libtar_a_SOURCES): Add paxerror.c paxexit.c paxconvert.c

19 years agoRemove checking for LIB_SETSOCKOPT, it is handled by paxutils
Sergey Poznyakoff [Thu, 19 May 2005 15:32:56 +0000 (15:32 +0000)] 
Remove checking for LIB_SETSOCKOPT, it is handled by paxutils

19 years ago(copy_files): Accept optional third argument: a prefix
Sergey Poznyakoff [Thu, 19 May 2005 15:32:38 +0000 (15:32 +0000)] 
(copy_files): Accept optional third argument: a prefix
to be appended to destination file names.
Import paxutils/paxlib files.

19 years ago* src/misc.c (remove_any_file): Fix typo in previous change.
Paul Eggert [Tue, 17 May 2005 08:34:16 +0000 (08:34 +0000)] 
* src/misc.c (remove_any_file): Fix typo in previous change.

19 years ago(remove_any_file): Fix typo in previous change.
Paul Eggert [Tue, 17 May 2005 08:34:03 +0000 (08:34 +0000)] 
(remove_any_file): Fix typo in previous change.

19 years agoPort to Solaris 10's treatment of unlinking directories.
Paul Eggert [Sun, 15 May 2005 06:23:49 +0000 (06:23 +0000)] 
Port to Solaris 10's treatment of unlinking directories.
* gnulib-modules: Add unlinkdir.
* lib/.cvsignore: Add unlinkdir.h, unlinkdir.c.
* src/common.h (we_are_root): Remove extern decl; it's now static.
* src/extract.c (we_are_root): Now static.
* src/misc.c: Include <unlinkdir.h>.
(remove_any_file): Use cannot_unlink_dir () rather than we_are_root.

19 years agoUpdate FSF postal mail address.
Paul Eggert [Sun, 15 May 2005 03:59:08 +0000 (03:59 +0000)] 
Update FSF postal mail address.

19 years agoUpdated
Sergey Poznyakoff [Thu, 12 May 2005 15:46:40 +0000 (15:46 +0000)] 
Updated

19 years agoUpdated
Sergey Poznyakoff [Thu, 12 May 2005 15:46:18 +0000 (15:46 +0000)] 
Updated

19 years agoAdd truncate.at
Sergey Poznyakoff [Thu, 12 May 2005 15:40:07 +0000 (15:40 +0000)] 
Add truncate.at

19 years agoNew test case
Sergey Poznyakoff [Thu, 12 May 2005 15:39:54 +0000 (15:39 +0000)] 
New test case

19 years ago(file_newer_p): Return false if file does not exist
Sergey Poznyakoff [Thu, 12 May 2005 15:39:34 +0000 (15:39 +0000)] 
(file_newer_p): Return false if file does not exist

19 years ago(dump_regular_file): Correctly pad archive members that shrunk during archiving....
Sergey Poznyakoff [Thu, 12 May 2005 15:39:21 +0000 (15:39 +0000)] 
(dump_regular_file): Correctly pad archive members that shrunk during archiving. Repored by Frank Heckenbach.

19 years ago(diff_file): diff_handle was not initialized
Sergey Poznyakoff [Thu, 12 May 2005 15:39:02 +0000 (15:39 +0000)] 
(diff_file): diff_handle was not initialized

19 years ago(Genfile): New appendix
Sergey Poznyakoff [Thu, 12 May 2005 15:38:48 +0000 (15:38 +0000)] 
(Genfile): New appendix

19 years ago(tar_TEXINFOS): Add genfile.texi
Sergey Poznyakoff [Thu, 12 May 2005 15:38:37 +0000 (15:38 +0000)] 
(tar_TEXINFOS): Add genfile.texi

19 years agoInstall files from paxutils/doc
Sergey Poznyakoff [Thu, 12 May 2005 15:38:27 +0000 (15:38 +0000)] 
Install files from paxutils/doc

19 years agoUpdated
Sergey Poznyakoff [Thu, 12 May 2005 15:38:19 +0000 (15:38 +0000)] 
Updated

19 years agoUpdate copyright.
Paul Eggert [Mon, 2 May 2005 08:05:59 +0000 (08:05 +0000)] 
Update copyright.

19 years agoUpdate copyright.
Paul Eggert [Mon, 2 May 2005 08:05:23 +0000 (08:05 +0000)] 
Update copyright.

19 years ago* src/incremen.c (hash_directory): Likewise.
Paul Eggert [Mon, 2 May 2005 08:03:02 +0000 (08:03 +0000)] 
* src/incremen.c (hash_directory): Likewise.
* src/names.c (hash_string_hasher): Likewise.
* src/tar.c (parse_opt): Set it, and adjust to new modechange API.

19 years agoTell awk to read from /dev/null.
Paul Eggert [Mon, 2 May 2005 08:02:35 +0000 (08:02 +0000)] 
Tell awk to read from /dev/null.

19 years agoAdjust to new hash API.
Paul Eggert [Mon, 2 May 2005 08:02:09 +0000 (08:02 +0000)] 
Adjust to new hash API.

19 years agoAdjust to recent gnulib changes.
Paul Eggert [Mon, 2 May 2005 07:36:26 +0000 (07:36 +0000)] 
Adjust to recent gnulib changes.

19 years ago(parse_opt): Adjust to new modechange API.
Paul Eggert [Mon, 2 May 2005 07:36:09 +0000 (07:36 +0000)] 
(parse_opt): Adjust to new modechange API.

19 years ago(start_ueader): Adjust to new modechange API.
Paul Eggert [Mon, 2 May 2005 07:35:47 +0000 (07:35 +0000)] 
(start_ueader): Adjust to new modechange API.

19 years ago(initial_umask): New var.
Paul Eggert [Mon, 2 May 2005 07:34:53 +0000 (07:34 +0000)] 
(initial_umask): New var.

19 years agoAdd dup-safer.c, fd-safer.c, unistd-safer.h.
Paul Eggert [Mon, 2 May 2005 07:34:26 +0000 (07:34 +0000)] 
Add dup-safer.c, fd-safer.c, unistd-safer.h.

19 years agoUpdated
Sergey Poznyakoff [Tue, 19 Apr 2005 09:06:07 +0000 (09:06 +0000)] 
Updated

19 years agoAdd shortrec.at
Sergey Poznyakoff [Tue, 19 Apr 2005 09:05:32 +0000 (09:05 +0000)] 
Add shortrec.at

19 years ago* src/buffer.c (reading_from_pipe): Remove. All uses removed.
Paul Eggert [Mon, 18 Apr 2005 18:21:50 +0000 (18:21 +0000)] 
* src/buffer.c (reading_from_pipe): Remove.  All uses removed.
(short_read): Don't warn about short reads; they're normal.
* tests/shortrec.at: New file.
* tests/testsuite.at: Include it.

19 years ago(gnulib_modules): Don't create a file modlist.tmp, as
Paul Eggert [Mon, 18 Apr 2005 18:14:58 +0000 (18:14 +0000)] 
(gnulib_modules): Don't create a file modlist.tmp, as
it is sometimes left behind as a garbage file (maybe due to the
multiple traps?).

19 years agoUse UTF-8 uniformly, rather than UTF-8 sometimes and Latin-1 sometimes.
Paul Eggert [Sat, 16 Apr 2005 07:22:13 +0000 (07:22 +0000)] 
Use UTF-8 uniformly, rather than UTF-8 sometimes and Latin-1 sometimes.

19 years agoUpdated
Sergey Poznyakoff [Thu, 14 Apr 2005 13:14:56 +0000 (13:14 +0000)] 
Updated

19 years ago(SOLARIS_XHDTYPE): New define
Sergey Poznyakoff [Thu, 14 Apr 2005 13:14:38 +0000 (13:14 +0000)] 
(SOLARIS_XHDTYPE): New define

19 years agoHandle Solaris 'X' type flag
Sergey Poznyakoff [Thu, 14 Apr 2005 13:14:23 +0000 (13:14 +0000)] 
Handle Solaris 'X' type flag

19 years agoUpdated
Sergey Poznyakoff [Thu, 7 Apr 2005 17:29:45 +0000 (17:29 +0000)] 
Updated

19 years agoAdd multiv04.at
Sergey Poznyakoff [Thu, 7 Apr 2005 17:28:53 +0000 (17:28 +0000)] 
Add multiv04.at

19 years agoTest splittind directory members between the archive volumes.
Sergey Poznyakoff [Thu, 7 Apr 2005 17:28:34 +0000 (17:28 +0000)] 
Test splittind directory members between the archive volumes.

19 years agoModified to match the new behavior
Sergey Poznyakoff [Thu, 7 Apr 2005 17:27:30 +0000 (17:27 +0000)] 
Modified to match the new behavior

19 years agoAssign orig_file_name
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.

19 years ago(diff_init): Read directory file if in listed
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.

19 years ago(flush_write): Warn when the name of the archive
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.

19 years agoMinor fixes to text messages. Proposed by Benno Schulenberg.
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.

19 years agoMinor fixes to text messages. Proposed by Benno Schulenberg.
Sergey Poznyakoff [Thu, 7 Apr 2005 17:24:56 +0000 (17:24 +0000)] 
Minor fixes to text messages. Proposed by Benno Schulenberg.

19 years agoSort and simplify.
Paul Eggert [Mon, 4 Apr 2005 18:46:00 +0000 (18:46 +0000)] 
Sort and simplify.

19 years agoUpdate copyright date.
Paul Eggert [Mon, 4 Apr 2005 18:37:52 +0000 (18:37 +0000)] 
Update copyright date.

19 years agoRename config/ to build-aux/.
Paul Eggert [Mon, 4 Apr 2005 18:35:53 +0000 (18:35 +0000)] 
Rename config/ to build-aux/.

19 years agoSpelling fixes.
Paul Eggert [Mon, 4 Apr 2005 18:31:44 +0000 (18:31 +0000)] 
Spelling fixes.

19 years ago* src/buffer.c: Fix struct zip_magic to avoid problems with pedantic
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.

19 years ago(struct zip_magic): Use char arrays, not pointers.
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.

19 years ago* src/xheader.c (decode_record): Don't dump core when given
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.

19 years ago(decode_record): Don't dump core when given
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.

19 years ago* bootstrap (TP_URL): Change from
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.

19 years agoUpdated
Sergey Poznyakoff [Thu, 3 Mar 2005 23:17:07 +0000 (23:17 +0000)] 
Updated

19 years ago(restore_fs): Use root_fs
Sergey Poznyakoff [Thu, 3 Mar 2005 23:16:03 +0000 (23:16 +0000)] 
(restore_fs): Use root_fs

19 years agoUse `head -n 1'. Provide missing argument to ${MT_STATUS}. Fixed typo in MT_OFFLINE...
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.

19 years agoUse `head -n 1'. Provide missing argument to ${MT_STATUS}. 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.

19 years ago(sparse_scan_file): Bugfix. offset had incorrect type.
Sergey Poznyakoff [Thu, 3 Mar 2005 23:13:30 +0000 (23:13 +0000)] 
(sparse_scan_file): Bugfix. offset had incorrect type.

19 years agoCorrectly parse empty uname/gname
Sergey Poznyakoff [Thu, 3 Mar 2005 23:13:14 +0000 (23:13 +0000)] 
Correctly parse empty uname/gname

19 years ago(print_header): Print UID/GID in case of
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.

19 years agoUpdated
Sergey Poznyakoff [Tue, 15 Feb 2005 15:25:14 +0000 (15:25 +0000)] 
Updated

19 years agoUse -print with find
Sergey Poznyakoff [Tue, 15 Feb 2005 15:24:51 +0000 (15:24 +0000)] 
Use -print with find

19 years agoReplace strdup with xstrdup
Sergey Poznyakoff [Tue, 15 Feb 2005 15:24:35 +0000 (15:24 +0000)] 
Replace strdup with xstrdup

19 years agoUpdated
Sergey Poznyakoff [Tue, 15 Feb 2005 14:47:06 +0000 (14:47 +0000)] 
Updated

19 years agoAdded reference to bug-tar archive
Sergey Poznyakoff [Tue, 15 Feb 2005 14:46:16 +0000 (14:46 +0000)] 
Added reference to bug-tar archive

19 years agoUpdated
Sergey Poznyakoff [Thu, 10 Feb 2005 22:53:22 +0000 (22:53 +0000)] 
Updated

19 years agoAdded append01.at
Sergey Poznyakoff [Thu, 10 Feb 2005 22:52:13 +0000 (22:52 +0000)] 
Added append01.at

19 years agoTest appending of files with long names
Sergey Poznyakoff [Thu, 10 Feb 2005 22:52:00 +0000 (22:52 +0000)] 
Test appending of files with long names

19 years ago(read_header): Removed assignment to oldgnu_header.isextended. It was breaking append...
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.

19 years agoAdded Tim Adye. Fixed UTF.
Sergey Poznyakoff [Thu, 10 Feb 2005 22:51:04 +0000 (22:51 +0000)] 
Added Tim Adye. Fixed UTF.

19 years agoUpdated
Sergey Poznyakoff [Sun, 6 Feb 2005 20:02:23 +0000 (20:02 +0000)] 
Updated

19 years agoVarious fixes in help and diagnostic messages
Sergey Poznyakoff [Sun, 6 Feb 2005 20:01:22 +0000 (20:01 +0000)] 
Various fixes in help and diagnostic messages

19 years agoMerge list of required modules from paxutils with that from tar proper
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

19 years agoList of required gnulib modules.
Sergey Poznyakoff [Sun, 6 Feb 2005 20:00:09 +0000 (20:00 +0000)] 
List of required gnulib modules.

19 years agoUpdated
Sergey Poznyakoff [Sat, 5 Feb 2005 22:25:50 +0000 (22:25 +0000)] 
Updated

19 years agoReverted changes
Sergey Poznyakoff [Sat, 5 Feb 2005 22:08:49 +0000 (22:08 +0000)] 
Reverted changes

19 years ago(options): Improved sorting. Document --backup=off.
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.

19 years ago(sys_exec_command): Use xclose, xpipe, xfork, xdup2 and exec_fatal.
Sergey Poznyakoff [Sat, 5 Feb 2005 22:02:08 +0000 (22:02 +0000)] 
(sys_exec_command): Use xclose, xpipe, xfork, xdup2 and exec_fatal.

19 years ago(exec_error,fork_error,dup2_error,pipe_error): Removed unneeded functions.
Sergey Poznyakoff [Sat, 5 Feb 2005 22:01:49 +0000 (22:01 +0000)] 
(exec_error,fork_error,dup2_error,pipe_error): Removed unneeded functions.

19 years ago(extract_archive): Do not check for EXTRACT_OVER_PIPE, decode_options() does this.
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.

19 years agoCode clean up.
Sergey Poznyakoff [Sat, 5 Feb 2005 22:00:48 +0000 (22:00 +0000)] 
Code clean up.

19 years ago(EXTRACT_OVER_PIPE): New macro
Sergey Poznyakoff [Sat, 5 Feb 2005 22:00:29 +0000 (22:00 +0000)] 
(EXTRACT_OVER_PIPE): New macro

19 years agoUpdated
Sergey Poznyakoff [Sat, 5 Feb 2005 10:49:26 +0000 (10:49 +0000)] 
Updated

19 years agoAdded Hansjoerg Lipp
Sergey Poznyakoff [Sat, 5 Feb 2005 10:35:46 +0000 (10:35 +0000)] 
Added Hansjoerg Lipp

19 years agoHandle new options --to-command,--ignore-command-error
Sergey Poznyakoff [Sat, 5 Feb 2005 10:35:18 +0000 (10:35 +0000)] 
Handle new options --to-command,--ignore-command-error

19 years ago(sys_exec_command,sys_wait_command): New functions
Sergey Poznyakoff [Sat, 5 Feb 2005 10:34:46 +0000 (10:34 +0000)] 
(sys_exec_command,sys_wait_command): New functions

19 years ago(exec_error, fork_error, dup_error,pipe_error): 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

19 years ago(extract_file): Handle to_command_option
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

19 years ago(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

19 years agoDo not use 8-bit chars in comments
Sergey Poznyakoff [Sat, 5 Feb 2005 10:33:05 +0000 (10:33 +0000)] 
Do not use 8-bit chars in comments

19 years agoGet setenv module from gnulib
Sergey Poznyakoff [Sat, 5 Feb 2005 10:32:35 +0000 (10:32 +0000)] 
Get setenv module from gnulib

19 years agoImproved checksum diagnostics; adjust to gnulib changes.
Paul Eggert [Fri, 4 Feb 2005 01:52:48 +0000 (01:52 +0000)] 
Improved checksum diagnostics; adjust to gnulib changes.

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