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
198596f161
Extract sparse files even if the output fd is not seekable.
2005-02-02 11:01:49 +00:00
Sergey Poznyakoff
0037ae7f9e
Remove inclusion of obstack.h
2005-01-18 01:18:45 +00:00
Sergey Poznyakoff
cdb27293db
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
2005-01-18 01:12:34 +00:00
Sergey Poznyakoff
937202acb9
(name_file): Removed variable.
...
(read_name_from_file): Removed function. All callers changed.
(name_close): Removed function. All callers changed.
2005-01-18 01:11:56 +00:00
Sergey Poznyakoff
3971a56b22
(stat_fatal): New function
2005-01-18 01:11:22 +00:00
Sergey Poznyakoff
18ee9a103a
Remove inclusion of obstack.h src/incremen.c
2005-01-18 01:11:05 +00:00
Sergey Poznyakoff
de772cad88
Include obstack.h
...
(files_from_option): Removed
(unquote_option): New variable
(stat_fatal): New function
(name_close): Removed function.
2005-01-18 01:10:39 +00:00
Sergey Poznyakoff
4719a5d55b
Use memset instead of bzero, memmove
...
(or memcpy, if appropriate), instead of bcopy, and
strchr/strrchr instead of index/rindex.
Rename isnumber to isnumber_p. Proposed by Albert Chin.
2005-01-13 15:59:26 +00:00
Sergey Poznyakoff
d882e8f39b
Reworded docstrings for --[no-]same-permissions
2005-01-11 16:28:07 +00:00
Sergey Poznyakoff
2ad41b6fe0
(parse_opt): Bugfix: Use ARGP_KEY_ARG. Thanks Mike Frysinger <vapier@gentoo.org> for reporting.
2005-01-05 17:30:36 +00:00
Sergey Poznyakoff
6bc808b25f
(main): Reverted recent changes (#ifdef).
2004-12-22 10:53:48 +00:00
Sergey Poznyakoff
2433f6813e
(open_compressed_archive): Do not attemt to determine compression type if handling multi-volume archive
2004-12-21 15:10:56 +00:00
Sergey Poznyakoff
76bbb5710f
Minor improvement: reset hit_eof in open_compressed_archive
2004-12-21 15:00:29 +00:00
Sergey Poznyakoff
5842962ed6
(main): Protect invocation of setlocale by ifdef.
2004-12-21 14:44:15 +00:00
Sergey Poznyakoff
368172bf25
(from_header, tar_checksum): Changed declaration. All callers updated.
2004-12-21 14:44:03 +00:00
Sergey Poznyakoff
0f9b299745
(tar_checksum): changed declaration
2004-12-21 14:42:15 +00:00
Sergey Poznyakoff
ab3b31cfef
(check_compressed_archive): Check remote archves as well
2004-12-21 14:41:35 +00:00
Sergey Poznyakoff
b5c890b887
(main): Protect invocation of setlocale by ifdef.
2004-12-21 13:24:00 +00:00
Sergey Poznyakoff
2d57bb240d
Bugfix. Changes introduced 2004-11-26 broke extraction from stdin.
2004-12-21 13:23:46 +00:00
Sergey Poznyakoff
90b1e24487
(decode_options): Ignore --seek if used with --delete.
...
Delete.c is based on the assumption that the archive is being
actually read, not lseeked.
2004-12-18 20:07:04 +00:00
Sergey Poznyakoff
e6a67c2eb5
(delete_archive_members): Bugfix: when
...
attempting to delete an unexisting member, the last
blocking_factor blocks were zeroed.
2004-12-17 16:10:36 +00:00
Sergey Poznyakoff
322114744f
(tar_checksum): New function
2004-11-26 19:09:48 +00:00
Sergey Poznyakoff
b5db978830
(tar_checksum): New function
2004-11-26 19:09:26 +00:00
Sergey Poznyakoff
4674867a23
(hit_eof): Changed type to boolean
...
(read_full_records,reading_from_pipe): New variables
(check_compressed_archive,open_compressed_archive): New functions
(open_archive): Autodetect compressed archives and act accodingly.
Set reading_from_pipe. This fixes contraversial set of changes
introduced 2004-05-11,2004-03-22.
2004-11-26 19:08:58 +00:00
Sergey Poznyakoff
b2a65edf5c
Fixed -o semantics. Thanks Jean Delvare <khali@linux-fr.org>
2004-11-16 11:02:45 +00:00
Sergey Poznyakoff
8ff11f27c1
Use locale_charset() from gnulib
2004-10-25 15:57:48 +00:00
Sergey Poznyakoff
5dee0c1348
(options): Use OPTION_NO_TRANS
2004-10-25 15:57:29 +00:00
Sergey Poznyakoff
b55daca933
(decode_header): Set uname/gname to NULL if their header counterparts are empty
2004-10-25 15:56:57 +00:00
Sergey Poznyakoff
f218c29b13
(LDADD): Add LIBICONV
2004-10-25 15:56:37 +00:00
Sergey Poznyakoff
06742ec624
New function check_cache_directory(),
...
called from dump_dir0() if exclude_caches_option is set,
to check for a cache directory tag and exclude the directory
if such a tag is found.
2004-10-04 09:27:13 +00:00
Sergey Poznyakoff
5b56886a72
New variable exclude_caches_option.
2004-10-04 09:26:42 +00:00
Sergey Poznyakoff
5db60955f5
New option --exclude-caches, to exclude
...
cache directories automatically on archive creation.
Cache directories are directories containing a
standardized tag file, as specified at:
http://www.brynosaurus.com/cachedir/spec.html
2004-10-04 09:26:25 +00:00
Sergey Poznyakoff
e370518b43
Minor fix
2004-09-16 13:42:22 +00:00
Sergey Poznyakoff
75bf036edc
Normalized use of remove_any_file().
2004-09-12 12:50:31 +00:00
Sergey Poznyakoff
6cf99ce8ae
(parse_opt): Emit warning if -l option is used.
...
(show_default_settings): REMOTE_SHELL may be undefined
2004-09-12 12:50:06 +00:00
Sergey Poznyakoff
ae3238495d
Comment WANT_DIRECTORY_REMOVE_OPTION
2004-09-12 12:49:41 +00:00
Sergey Poznyakoff
cf2fa13bc5
(argp_program_version): Modified.
2004-09-07 18:43:05 +00:00
Sergey Poznyakoff
7347b4f5d5
Started merging with cpio into paxutils.
2004-09-06 14:28:55 +00:00
Sergey Poznyakoff
2e419759d1
(usage): Minor fix
2004-09-02 13:53:30 +00:00
Sergey Poznyakoff
da3f3e0b3b
Install rmt into rmtdir
2004-09-02 13:53:18 +00:00
Sergey Poznyakoff
d14f101217
(register_individual_file,is_individual_file): New functions.
2004-09-01 15:05:28 +00:00
Sergey Poznyakoff
19335cdfb4
(dump_file0): Fix bug introduced 2004-02-21.
2004-09-01 15:05:09 +00:00
Sergey Poznyakoff
4e4e8c57fd
(is_individual_file): New prototype
2004-09-01 15:04:46 +00:00
Sergey Poznyakoff
28efbf6944
(unquote_string): Unquote '\a' and '\v'. Reported by Helmut Waitzmann <helmut.waitzmann@web.de>
2004-08-31 11:49:28 +00:00
Sergey Poznyakoff
678a4411ea
(main): Call set_start_time()
2004-08-31 11:49:03 +00:00
Sergey Poznyakoff
001e5cf813
Fixed initialization of stat_info->is_sparse
2004-08-31 11:48:51 +00:00
Sergey Poznyakoff
fc264a87a8
(set_start_time, removed_prefixes_p): New prototypes.
2004-08-31 11:48:23 +00:00