Sergey Poznyakoff
cd02b0855c
(options): Improved sorting. Document --backup=off.
...
(decode_options): Clear backup_option if necessary.
2005-02-05 22:03:10 +00:00
Sergey Poznyakoff
35bb355734
(sys_exec_command): Use xclose, xpipe, xfork, xdup2 and exec_fatal.
2005-02-05 22:02:08 +00:00
Sergey Poznyakoff
fa63755f6b
(exec_error,fork_error,dup2_error,pipe_error): Removed unneeded functions.
2005-02-05 22:01:49 +00:00
Sergey Poznyakoff
ea12939af0
(extract_archive): Do not check for EXTRACT_OVER_PIPE, decode_options() does this.
2005-02-05 22:01:08 +00:00
Sergey Poznyakoff
9a71d32d2f
Code clean up.
2005-02-05 22:00:48 +00:00
Sergey Poznyakoff
6609c2a607
(EXTRACT_OVER_PIPE): New macro
2005-02-05 22:00:29 +00:00
Sergey Poznyakoff
c580a1c407
Updated
2005-02-05 10:49:26 +00:00
Sergey Poznyakoff
91ce177fc7
Added Hansjoerg Lipp
2005-02-05 10:35:46 +00:00
Sergey Poznyakoff
4d24adbecb
Handle new options --to-command,--ignore-command-error
2005-02-05 10:35:18 +00:00
Sergey Poznyakoff
0b939d7dbc
(sys_exec_command,sys_wait_command): New functions
2005-02-05 10:34:46 +00:00
Sergey Poznyakoff
75a16f75a9
(exec_error, fork_error, dup_error,pipe_error): New functions
2005-02-05 10:34:25 +00:00
Sergey Poznyakoff
e758088191
(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
2005-02-05 10:34:01 +00:00
Sergey Poznyakoff
f96dc77bbc
(to_command_option)
...
(ignore_command_error_option): New globals
(sys_exec_command,sys_wait_command): New commands
2005-02-05 10:33:25 +00:00
Sergey Poznyakoff
23cf312ef1
Do not use 8-bit chars in comments
2005-02-05 10:33:05 +00:00
Sergey Poznyakoff
0e4b59b4b2
Get setenv module from gnulib
2005-02-05 10:32:35 +00:00
Paul Eggert
a6f6974f75
Improved checksum diagnostics; adjust to gnulib changes.
2005-02-04 01:52:48 +00:00
Paul Eggert
8f0112cb23
(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.
2005-02-04 01:52:20 +00:00
Paul Eggert
9c2f942930
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.
2005-02-04 01:44:45 +00:00
Sergey Poznyakoff
5422166048
Updated
2005-02-04 01:43:41 +00:00
Sergey Poznyakoff
0ad4063606
(update_argv): Changed type to void
2005-02-04 01:42:58 +00:00
Sergey Poznyakoff
db2d3f2344
Removed unused variables.
2005-02-04 01:42:33 +00:00
Sergey Poznyakoff
5179c0b5e6
Further rewrite
2005-02-04 01:41:32 +00:00
Sergey Poznyakoff
87a7b31a82
Updated
2005-02-04 00:05:46 +00:00
Sergey Poznyakoff
1044149e3a
Determine path to the tar executable.
2005-02-04 00:04:55 +00:00
Sergey Poznyakoff
d8dc269927
(options) Minor spelling fix
2005-02-04 00:04:40 +00:00
Sergey Poznyakoff
1e2e868af5
Add translators' comments
2005-02-04 00:04:16 +00:00
Sergey Poznyakoff
c8764440d9
(extract_archive): Rewritten
2005-02-04 00:03:59 +00:00
Sergey Poznyakoff
59f314a2c4
(start_private_header,write_header_name)
...
(dump_hard_link): Restore compatibility with 1.13.25
2005-02-04 00:03:42 +00:00
Sergey Poznyakoff
0e45413e1e
(OLDGNU_NAME_FIELD_SIZE): New constant
2005-02-04 00:03:15 +00:00
Sergey Poznyakoff
2fcd454e17
Updated
2005-02-03 16:29:58 +00:00
Sergey Poznyakoff
e318ac6fe8
(RE_CHECK): Added missing space
2005-02-03 16:29:45 +00:00
Sergey Poznyakoff
71b7086ff7
sort ls output
2005-02-03 16:29:27 +00:00
Sergey Poznyakoff
5cf84df777
Add translators' comment
2005-02-03 16:29:08 +00:00
Sergey Poznyakoff
4a7703ff21
Use quote()
2005-02-03 16:28:37 +00:00
Sergey Poznyakoff
91c69c885b
(short_read): Use ngettext()
...
(new_volume): use quote().
2005-02-03 16:28:12 +00:00
Sergey Poznyakoff
63c140752f
Added tests/genfile.c
2005-02-03 16:27:11 +00:00
Sergey Poznyakoff
ce852113e0
Updated
2005-02-03 00:06:34 +00:00
Sergey Poznyakoff
ccb2072c7e
Extract and compare sparse file
2005-02-03 00:04:43 +00:00
Sergey Poznyakoff
d8b24b63e8
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.
2005-02-03 00:04:30 +00:00
Sergey Poznyakoff
0dcb0ad279
Added sparse02.at
2005-02-03 00:04:02 +00:00
Sergey Poznyakoff
0cde2ad44c
Test extracting sparse files over a pipe.
2005-02-03 00:03:44 +00:00
Sergey Poznyakoff
88e9b05867
Updated
2005-02-02 11:02:12 +00:00
Sergey Poznyakoff
198596f161
Extract sparse files even if the output fd is not seekable.
2005-02-02 11:01:49 +00:00
Sergey Poznyakoff
ccac216e67
Updated
2005-02-01 05:52:10 +00:00
Sergey Poznyakoff
660d760587
Ignore all *.m4 files
2005-02-01 05:51:24 +00:00
Sergey Poznyakoff
771ac30e0f
Updated
2005-02-01 05:48:06 +00:00
Sergey Poznyakoff
ebd88883f5
Add append.at
2005-02-01 05:47:20 +00:00
Sergey Poznyakoff
81572b57a3
Insert Emacs magic to the first line.
2005-02-01 05:47:05 +00:00
Sergey Poznyakoff
5be8e9d4c7
Add a comment to lib/Makefile.am saying that this is an autogenerated file.
...
Exit with code 1 if any of autotools fails.
2005-02-01 05:46:49 +00:00
Sergey Poznyakoff
4e52e75bbe
Updated
2005-01-18 01:53:09 +00:00