]> Dogcows Code - chaz/tar/log
chaz/tar
18 years ago(struct name): New member `explicit'. Remove unused member `isdir'
Sergey Poznyakoff [Tue, 13 Dec 2005 13:31:56 +0000 (13:31 +0000)] 
(struct name): New member `explicit'. Remove unused member `isdir'

18 years agoUpdate
Sergey Poznyakoff [Mon, 12 Dec 2005 22:56:25 +0000 (22:56 +0000)] 
Update

18 years agoIf --one-file-system is given and a
Sergey Poznyakoff [Mon, 12 Dec 2005 22:55:39 +0000 (22:55 +0000)] 
If --one-file-system is given and a
directory is found to be on another device, *and* this directory
is explicitely given in the command line, then do not omit it.

18 years agoUpdate
Sergey Poznyakoff [Sun, 11 Dec 2005 14:12:54 +0000 (14:12 +0000)] 
Update

18 years ago(options,parse_opt): New options --delay-directory-restore and --no-delay-directory...
Sergey Poznyakoff [Sun, 11 Dec 2005 14:12:12 +0000 (14:12 +0000)] 
(options,parse_opt): New options --delay-directory-restore and --no-delay-directory-restore

18 years ago(directories_first): Replaced by delay_directory_restore_option. All uses changed.
Sergey Poznyakoff [Sun, 11 Dec 2005 14:11:41 +0000 (14:11 +0000)] 
(directories_first): Replaced by delay_directory_restore_option. All uses changed.

18 years ago(delay_directory_restore_option): New global.
Sergey Poznyakoff [Sun, 11 Dec 2005 14:11:16 +0000 (14:11 +0000)] 
(delay_directory_restore_option): New global.

18 years agoDocument --delay-directory-restore option.
Sergey Poznyakoff [Sun, 11 Dec 2005 14:10:53 +0000 (14:10 +0000)] 
Document --delay-directory-restore option.
(Configuring Help Summary): Document usage of ARGP_HELP_FMT
variable to customize help output.

18 years agoUpdate
Sergey Poznyakoff [Sun, 11 Dec 2005 14:10:05 +0000 (14:10 +0000)] 
Update

18 years agoUpdate
Sergey Poznyakoff [Fri, 9 Dec 2005 10:05:10 +0000 (10:05 +0000)] 
Update

18 years ago(read_directory_file): Fix format string
Sergey Poznyakoff [Fri, 9 Dec 2005 10:05:02 +0000 (10:05 +0000)] 
(read_directory_file): Fix format string

18 years ago(to_chars_subst): Remove unused variable
Sergey Poznyakoff [Fri, 9 Dec 2005 10:04:52 +0000 (10:04 +0000)] 
(to_chars_subst): Remove unused variable
Make sure useful result code is returned.

18 years ago(set_file_atime): Add prototype.
Sergey Poznyakoff [Fri, 9 Dec 2005 10:04:38 +0000 (10:04 +0000)] 
(set_file_atime): Add prototype.

18 years ago(open_archive): Add default case to shut up gcc.
Sergey Poznyakoff [Fri, 9 Dec 2005 10:04:26 +0000 (10:04 +0000)] 
(open_archive): Add default case to shut up gcc.

18 years agoFix typo
Sergey Poznyakoff [Thu, 8 Dec 2005 15:55:53 +0000 (15:55 +0000)] 
Fix typo

18 years agoUpdate
Sergey Poznyakoff [Thu, 8 Dec 2005 15:41:38 +0000 (15:41 +0000)] 
Update

18 years ago(gid_to_chars, major_to_chars, minor_to_chars)
Sergey Poznyakoff [Thu, 8 Dec 2005 15:41:28 +0000 (15:41 +0000)] 
(gid_to_chars, major_to_chars, minor_to_chars)
(mode_to_chars, off_to_chars, size_to_chars, time_to_chars)
(uid_to_chars, uintmax_to_chars): Return bool
(to_chars): Return bool
(start_header): Check return values of convertion routines. Fail
if unable to store data in the header.

18 years ago(gid_to_chars, major_to_chars, minor_to_chars)
Sergey Poznyakoff [Thu, 8 Dec 2005 15:41:11 +0000 (15:41 +0000)] 
(gid_to_chars, major_to_chars, minor_to_chars)
(mode_to_chars, off_to_chars, size_to_chars, time_to_chars)
(uid_to_chars, uintmax_to_chars): Return bool

18 years ago(Current status): Renamed to 'Changes' and moved to
Sergey Poznyakoff [Thu, 8 Dec 2005 15:40:52 +0000 (15:40 +0000)] 
(Current status): Renamed to 'Changes' and moved to
appendices.
(Large or Negative Values): Rewritten

18 years agoChange permissions in the sample outputs to more usual ones
Sergey Poznyakoff [Wed, 7 Dec 2005 16:17:44 +0000 (16:17 +0000)] 
Change permissions in the sample outputs to more usual ones

18 years agoUpdated
Sergey Poznyakoff [Wed, 7 Dec 2005 15:12:38 +0000 (15:12 +0000)] 
Updated

18 years agoRemove @set's
Sergey Poznyakoff [Wed, 7 Dec 2005 15:12:00 +0000 (15:12 +0000)] 
Remove @set's

18 years agoFollowing the discussion with Karl Berry,
Sergey Poznyakoff [Wed, 7 Dec 2005 15:11:45 +0000 (15:11 +0000)] 
Following the discussion with Karl Berry,
discontinue using @value{} substitutions for Texinfo commands.
Properly index all long options. Print a
separate long option index.

18 years agoUpdate
Sergey Poznyakoff [Wed, 7 Dec 2005 09:43:09 +0000 (09:43 +0000)] 
Update

18 years agoResolve some more FIXMEs
Sergey Poznyakoff [Wed, 7 Dec 2005 09:42:30 +0000 (09:42 +0000)] 
Resolve some more FIXMEs

18 years agoFix typosin the recent entry
Sergey Poznyakoff [Wed, 7 Dec 2005 08:40:46 +0000 (08:40 +0000)] 
Fix typosin the recent entry

18 years agoUpdate
Sergey Poznyakoff [Tue, 6 Dec 2005 23:18:20 +0000 (23:18 +0000)] 
Update

18 years agoUpdate
Sergey Poznyakoff [Tue, 6 Dec 2005 23:16:10 +0000 (23:16 +0000)] 
Update

18 years ago(options): Add --restrict option. Use macros for option grouping.
Sergey Poznyakoff [Tue, 6 Dec 2005 23:15:41 +0000 (23:15 +0000)] 
(options): Add --restrict option. Use macros for option grouping.
(license): Print full list of copyright years

18 years ago(sys_exec_info_script): The script can supply new
Sergey Poznyakoff [Tue, 6 Dec 2005 23:15:14 +0000 (23:15 +0000)] 
(sys_exec_info_script): The script can supply new
archive name to use by writing it to file descriptor 3.

18 years ago(sys_exec_info_script): Update delaration
Sergey Poznyakoff [Tue, 6 Dec 2005 23:14:56 +0000 (23:14 +0000)] 
(sys_exec_info_script): Update delaration
(restrict_option): New global

18 years ago(new_volume): Update invocation
Sergey Poznyakoff [Tue, 6 Dec 2005 23:14:44 +0000 (23:14 +0000)] 
(new_volume): Update invocation
(change_tape_menu): New function. Disable '!' command if given
--restrict option.

18 years agoUse TAR_VOLUME instead of reading volno file.
Sergey Poznyakoff [Tue, 6 Dec 2005 23:13:28 +0000 (23:13 +0000)] 
Use TAR_VOLUME instead of reading volno file.

18 years agoUpdate --info-scripts documentation
Sergey Poznyakoff [Tue, 6 Dec 2005 23:13:19 +0000 (23:13 +0000)] 
Update --info-scripts documentation

18 years ago* configure.ac (DENSITY_LETTER): Fix m4 overquoting.
Paul Eggert [Tue, 6 Dec 2005 21:43:17 +0000 (21:43 +0000)] 
* configure.ac (DENSITY_LETTER): Fix m4 overquoting.
* .cvsignore: Ignore .bootstrap.

18 years agoUpdate
Sergey Poznyakoff [Tue, 6 Dec 2005 16:33:17 +0000 (16:33 +0000)] 
Update

18 years ago(archive_format_string): Remove static qualifier.
Sergey Poznyakoff [Tue, 6 Dec 2005 16:32:37 +0000 (16:32 +0000)] 
(archive_format_string): Remove static qualifier.
(subcommand_string): New function.

18 years ago(sys_exec_info_script): New function.
Sergey Poznyakoff [Tue, 6 Dec 2005 16:32:17 +0000 (16:32 +0000)] 
(sys_exec_info_script): New function.

18 years ago(archive_format_string,subcommand_string,sys_exec_info_script): New prototypes.
Sergey Poznyakoff [Tue, 6 Dec 2005 16:32:05 +0000 (16:32 +0000)] 
(archive_format_string,subcommand_string,sys_exec_info_script): New prototypes.

18 years ago(new_volume): Use sys_exec_info_script() instead of system().
Sergey Poznyakoff [Tue, 6 Dec 2005 16:31:49 +0000 (16:31 +0000)] 
(new_volume): Use sys_exec_info_script() instead of system().

18 years agoDocument --to-command and --info-script options. Add missing xrefs.
Sergey Poznyakoff [Tue, 6 Dec 2005 16:31:37 +0000 (16:31 +0000)] 
Document --to-command and --info-script options. Add missing xrefs.

18 years agoUpdate
Sergey Poznyakoff [Thu, 1 Dec 2005 14:51:19 +0000 (14:51 +0000)] 
Update

18 years agoObtain root_device here, to make sure it works correctly with -C.
Sergey Poznyakoff [Thu, 1 Dec 2005 14:50:57 +0000 (14:50 +0000)] 
Obtain root_device here, to make sure it works correctly with -C.

18 years agoUpdate
Sergey Poznyakoff [Thu, 1 Dec 2005 12:58:17 +0000 (12:58 +0000)] 
Update

18 years agoAdd Guerkan Karaman
Sergey Poznyakoff [Thu, 1 Dec 2005 12:57:50 +0000 (12:57 +0000)] 
Add Guerkan Karaman

18 years agoAdd incr02.at
Sergey Poznyakoff [Thu, 1 Dec 2005 12:51:58 +0000 (12:51 +0000)] 
Add incr02.at

18 years ago(purge_directory): Skip the member and return if the archive is not in incremental...
Sergey Poznyakoff [Thu, 1 Dec 2005 12:51:20 +0000 (12:51 +0000)] 
(purge_directory): Skip the member and return if the archive is not in incremental format.

18 years agoFix restoring of directory timestamps from
Sergey Poznyakoff [Thu, 1 Dec 2005 12:50:58 +0000 (12:50 +0000)] 
Fix restoring of directory timestamps from
incremental archives.
(directories_first): New variable.
(prepare_to_extract): Set directories_first
(extract_archive): Call apply_nonancestor_delayed_set_stat() only
if not extracting from an incremental archive

18 years ago* doc/tar.texi (Option Summary): Rewrite the
Paul Eggert [Thu, 1 Dec 2005 00:18:05 +0000 (00:18 +0000)] 
* doc/tar.texi (Option Summary): Rewrite the
--atime-preserve=system description in response to Ian Turner's
proposed patch.
* doc/tar.texi (Extracting Specific Files): Remove obsolescent
FIXME.

18 years ago(parse_opt): Remove bogus \n in new atime diagnostic.
Paul Eggert [Tue, 29 Nov 2005 19:41:34 +0000 (19:41 +0000)] 
(parse_opt): Remove bogus \n in new atime diagnostic.

18 years ago* lib/.cvsignore: Add malloc.h, regcomp.c, regex.c, regex.h,
Paul Eggert [Tue, 29 Nov 2005 19:39:06 +0000 (19:39 +0000)] 
* lib/.cvsignore: Add malloc.h, regcomp.c, regex.c, regex.h,
regex_internal.c, regex_internal.h, regexc.c; used by rpmatch.

18 years ago* THANKS: Add Ian Turner.
Paul Eggert [Tue, 29 Nov 2005 19:26:13 +0000 (19:26 +0000)] 
* THANKS: Add Ian Turner.

18 years ago* NEWS: New option --atime-preserve=system, which uses O_NOATIME.
Paul Eggert [Tue, 29 Nov 2005 19:14:21 +0000 (19:14 +0000)] 
* NEWS: New option --atime-preserve=system, which uses O_NOATIME.

* configure.ac: Prefer AC_CHECK_HEADERS_ONCE to AC_CHECK_HEADERS.
Check for stropts.h and sys/filio.h too, for _FIOSATIME.
* doc/tar.texi: Change "modification time" to "data modification
time", "change time" to "status change time", and "filesystem" to
"file system", so that we use terminology consistent with POSIX.
Use American spacing rather than French for sentence ends.
"non-dependable" -> "undependable".
(Option Summary, Attributes): Explain better the pitfalls of the
--atime-preserve option, and suggest read-only mounts,loopback
mounts, and noatime mounts for older systems.
* doc/value.texi (op-atime-preserve-system): Renamed from
op-atime-preserver-system to fix a misspelling.
* src/common.h (enum atime_preserve): Use lower case for enum values.
* src/compare.c: Don't include utimens.h; no longer needed.
(diff_file): Use set_file_atime rather than utimens; avoid closing
diff_handle until after this, so that we can set the file time stamp
via the file descriptor rather than via its name.
* src/create.c: Don't include utimens.h; no longer needed.
(dump_regular_finish): Remove.  All callers now do its work inline.
(dump_dir): New arg FD.  All callers changed.
Use fdsavedir rather than savedir.
(unknown_file_error): Arg is a const pointer now.
(dump_file0): 2nd arg is a const pointer now.
Treat directories more like files, with respect to --atime-preserve.
For example, also warn if a directory changes while we are dumping it.
Prefer file descriptors to file names when retrieving/setting file
attributes; this saves path-resolution time and allows us to avoid
changing mtime/ctime on Solaris when restoring atime as root.
Use O_DIRECTORY when opening directories, to avoid some race conditions.
Do not reset atime if mtime has changed.  Report an error if
we cannot reset atime.

First cut at adding support for --atime-preserve=system.
* doc/tar.texi (Option Summary): First cut at documenting it.
All other uses of --atime-preserve changed to --atime-preserve=replace.
* doc/value.texi (op-atime-preserve-replace, op-atime-preserver-system):
New.
(op-atime-preserve): Mention METHOD.
* src/common.h (atime_preserve): New enum.
(atime_preserve_option): Now of the enum type rather than bool.
All uses changed.
* src/compare.c (diff_file): Read with O_NOATIME if asked for.
* src/create.c (dump_file0): Read regular and CTG files with O_NOATIME
if asked for.
* src/tar.c (usage): Mention new usage.
(parse_opt): Parse new usage.

18 years agoConvert back to UTF-8, sort (using LC_ALL=en_US.UTF-8
Paul Eggert [Tue, 29 Nov 2005 18:53:34 +0000 (18:53 +0000)] 
Convert back to UTF-8, sort (using LC_ALL=en_US.UTF-8
on Debian stable), and consistently use tabs rather than spaces.

18 years agoUpdate
Sergey Poznyakoff [Sun, 27 Nov 2005 12:00:42 +0000 (12:00 +0000)] 
Update

18 years agoRemove prematurely introduced parts of new MV format support
Sergey Poznyakoff [Sun, 27 Nov 2005 11:59:34 +0000 (11:59 +0000)] 
Remove prematurely introduced parts of new MV format support

18 years agoUpdate
Sergey Poznyakoff [Sat, 26 Nov 2005 19:32:55 +0000 (19:32 +0000)] 
Update

18 years ago(xheader_format_name): Fix memory leak.
Sergey Poznyakoff [Sat, 26 Nov 2005 19:31:02 +0000 (19:31 +0000)] 
(xheader_format_name): Fix memory leak.

18 years agoUpdate
Sergey Poznyakoff [Fri, 11 Nov 2005 12:18:14 +0000 (12:18 +0000)] 
Update

18 years agoClose stdin so that if something fails causing tar to ask for the next volume, it...
Sergey Poznyakoff [Fri, 11 Nov 2005 12:17:38 +0000 (12:17 +0000)] 
Close stdin so that if something fails causing tar to ask for the next volume, it won't hang the testsuite.

18 years ago(confirm): Rewritten using rpmatch.
Sergey Poznyakoff [Fri, 11 Nov 2005 12:17:10 +0000 (12:17 +0000)] 
(confirm): Rewritten using rpmatch.
(decode_options): Minor optimizations
(main): Call stdopen() to ensure the first three descriptors are
open.

18 years agoAdd rpmatch.c
Sergey Poznyakoff [Fri, 11 Nov 2005 12:16:41 +0000 (12:16 +0000)] 
Add rpmatch.c

18 years agoAdd stdopen, imported from coreutils.
Sergey Poznyakoff [Fri, 11 Nov 2005 12:16:28 +0000 (12:16 +0000)] 
Add stdopen, imported from coreutils.

18 years agoAdd rpmatch
Sergey Poznyakoff [Fri, 11 Nov 2005 12:15:46 +0000 (12:15 +0000)] 
Add rpmatch

18 years agoUpdated
Sergey Poznyakoff [Fri, 11 Nov 2005 00:28:27 +0000 (00:28 +0000)] 
Updated

18 years ago(Tarcat): New node
Sergey Poznyakoff [Fri, 11 Nov 2005 00:27:58 +0000 (00:27 +0000)] 
(Tarcat): New node

18 years agoHandle archives in pax format. Improve handling of traditional archives.
Sergey Poznyakoff [Fri, 11 Nov 2005 00:27:21 +0000 (00:27 +0000)] 
Handle archives in pax format. Improve handling of traditional archives.

18 years agoUpdate
Sergey Poznyakoff [Fri, 11 Nov 2005 00:26:39 +0000 (00:26 +0000)] 
Update

18 years ago(AT_TAR_CHECK): Define TEST_TAR_FORMAT
Sergey Poznyakoff [Fri, 11 Nov 2005 00:26:18 +0000 (00:26 +0000)] 
(AT_TAR_CHECK): Define TEST_TAR_FORMAT

18 years ago(xheader_format_name): Remove static
Sergey Poznyakoff [Fri, 11 Nov 2005 00:26:09 +0000 (00:26 +0000)] 
(xheader_format_name): Remove static
qualifier. Change last argument.
Correct buffer size calculation (allocated too much space).
(xheader_write): Increase global_header_count here ...
(xheader_write_global): ... instead of here

18 years ago(write_extended): Change type and meaning of the first argument. All callers updated
Sergey Poznyakoff [Fri, 11 Nov 2005 00:25:41 +0000 (00:25 +0000)] 
(write_extended): Change type and meaning of the first argument. All callers updated

18 years ago(flush_read,flush_write): Functions, again.
Sergey Poznyakoff [Fri, 11 Nov 2005 00:25:20 +0000 (00:25 +0000)] 
(flush_read,flush_write): Functions, again.
(write_extended): Changed declaration
(xheader_format_name): New declaration

18 years ago(flush_write,flush_read): Change data type.
Sergey Poznyakoff [Fri, 11 Nov 2005 00:24:52 +0000 (00:24 +0000)] 
(flush_write,flush_read): Change data type.
(flush_archive): Compute actual buffer fill level before calling
low level function.
(close_archive): Call flush_archive again if the first call
resulted in partially filled buffer.
(try_new_volume): Rewritten handling of initial headers.
(add_chunk_header): New function. Write an additional header
before the continuation chunk. The purpose of the header is to
allow third-party tars to extract the member.
(simple_flush_write): Take an argument.
(_gnu_flush_write): Correctly handle partially filled buffers.

19 years agoUpdated
Sergey Poznyakoff [Thu, 10 Nov 2005 13:01:34 +0000 (13:01 +0000)] 
Updated

19 years agoAdd new test cases
Sergey Poznyakoff [Thu, 10 Nov 2005 13:00:11 +0000 (13:00 +0000)] 
Add new test cases

19 years ago(xhdr_tab): New keyword GNU.volume.filename.
Sergey Poznyakoff [Thu, 10 Nov 2005 12:59:38 +0000 (12:59 +0000)] 
(xhdr_tab): New keyword GNU.volume.filename.

19 years agoDo not pad compressed output if it goes to stdout.
Sergey Poznyakoff [Thu, 10 Nov 2005 12:59:25 +0000 (12:59 +0000)] 
Do not pad compressed output if it goes to stdout.

19 years ago(sparse_dump_region): Call mv_size_left.
Sergey Poznyakoff [Thu, 10 Nov 2005 12:59:13 +0000 (12:59 +0000)] 
(sparse_dump_region): Call mv_size_left.
(sparse_dump_file): Enclose the loop in mv_begin/mv_end.

19 years ago(try_new_volume): Bugfix. Always check
Sergey Poznyakoff [Thu, 10 Nov 2005 12:58:43 +0000 (12:58 +0000)] 
(try_new_volume): Bugfix. Always check
continued_file_name. If it is absent, the volume is out
of sync.
(add_multi_volume_header): Create GNU.volume.filename keyword in
the extended header.

19 years agoUpdate
Sergey Poznyakoff [Wed, 9 Nov 2005 13:13:00 +0000 (13:13 +0000)] 
Update

19 years ago(AT_KEYWORDS): Improve to allow executionof related tests in groups.
Sergey Poznyakoff [Wed, 9 Nov 2005 13:09:44 +0000 (13:09 +0000)] 
(AT_KEYWORDS): Improve to allow executionof related tests in groups.

19 years ago(xhdr_tab): Support for new GNU keywords.
Sergey Poznyakoff [Wed, 9 Nov 2005 13:09:25 +0000 (13:09 +0000)] 
(xhdr_tab): Support for new GNU keywords.

19 years ago (decode_options): Allow to use --multi-volume and --label with pax archives.
Sergey Poznyakoff [Wed, 9 Nov 2005 13:09:12 +0000 (13:09 +0000)] 
 (decode_options): Allow to use --multi-volume and --label with pax archives.

19 years agoUse mv_.* functions where necessary.
Sergey Poznyakoff [Wed, 9 Nov 2005 13:08:55 +0000 (13:08 +0000)] 
Use mv_.* functions where necessary.

19 years agoUse mv_.* functions uniformly instead of fiddling with the global variables.
Sergey Poznyakoff [Wed, 9 Nov 2005 13:08:42 +0000 (13:08 +0000)] 
Use mv_.* functions uniformly instead of fiddling with the global variables.

19 years ago(save_name,save_sizeleft,save_totsize): Remove
Sergey Poznyakoff [Wed, 9 Nov 2005 13:08:13 +0000 (13:08 +0000)] 
(save_name,save_sizeleft,save_totsize): Remove
globals.
(volume_label,continued_file_name,continued_file_size): New
variables.
(flush_read,flush_write): Pointers to functions
(mv_begin,mv_end,mv_total_size,mv_size_left): New functions
(write_extended): New function.

19 years agoRewritten in a more modular fashion to provide
Sergey Poznyakoff [Wed, 9 Nov 2005 13:07:45 +0000 (13:07 +0000)] 
Rewritten in a more modular fashion to provide
GNU extensions (multi-volume archives and archive labels) in
pax format.
(volume_label,continued_file_name,continued_file_size)
(continued_file_offset): New globals.
(save_name,save_totsize,save_sizeleft): Make static
(mv_begin,mv_end,mv_total_size,mv_size_left): New functions
(open_archive,flush_write,flush_read): Rewritten

19 years agoUpdate
Sergey Poznyakoff [Wed, 9 Nov 2005 13:07:26 +0000 (13:07 +0000)] 
Update

19 years ago* src/tar.c (NS_PRECISION_FORMAT_MASK): New macro.
Paul Eggert [Tue, 8 Nov 2005 07:20:02 +0000 (07:20 +0000)] 
* src/tar.c (NS_PRECISION_FORMAT_MASK): New macro.
(tar_timespec_cmp): New function. Wrapper over
timespec_cmp using the timespec precision provided by the
current archive format.
* src/common.h (tar_timespec_cmp): New declaration.
* src/compare.c (diff_file): Use tar_timespec_cmp.
* src/extract.c (file_newer_p): Likewise.
* src/update.c (update_archive): Likewise.
* tests/truncate.at: Reverted changes
* tests/update.at: Reverted changes

19 years ago(xheader_store): Last arg is void const *.
Paul Eggert [Mon, 7 Nov 2005 05:11:55 +0000 (05:11 +0000)] 
(xheader_store): Last arg is void const *.

19 years ago(xheader_store): Last arg here is void const *, too.
Paul Eggert [Mon, 7 Nov 2005 05:11:40 +0000 (05:11 +0000)] 
(xheader_store): Last arg here is void const *, too.

19 years ago(struct xhdr_tab.coder): Last arg is void const *,
Paul Eggert [Mon, 7 Nov 2005 05:03:09 +0000 (05:03 +0000)] 
(struct xhdr_tab.coder): Last arg is void const *,
not void *, to avoid create.c warning from GCC "passing argument 3
of 'xheader_store' discards qualifiers from pointer target type".
(dummy_coder, atime_coder, gid_coder, gname_coder, linkpath_coder):
(ctime_coder, mtime_coder, path_coder, size_coder, uid_coder):
(uname_coder, sparse_size_coder, sparse_numblocks_coder):
(sparse_offset_coder, sparse_numbytes_coder, dumpdir_coder):
Likewise.

19 years ago* tests/truncate.at: Create files whose time stamps must fall on
Paul Eggert [Mon, 7 Nov 2005 04:03:29 +0000 (04:03 +0000)] 
* tests/truncate.at: Create files whose time stamps must fall on
1-second boundaries.  This prevents tests from failing on hosts
like Solaris 8 that have nanosecond-resolution file time stamps.
* tests/update.at: Likewise.

19 years agoUpdate
Sergey Poznyakoff [Mon, 7 Nov 2005 02:55:25 +0000 (02:55 +0000)] 
Update

19 years ago(xheader_keyword_deleted_p): Remove static
Sergey Poznyakoff [Mon, 7 Nov 2005 02:52:58 +0000 (02:52 +0000)] 
(xheader_keyword_deleted_p): Remove static
qualifier.
(struct xhdr_tab.decoder): Change prototype. POSIX allows string
values to contain embedded nulls, so take an extra argument
specifying the length of the string.
(decx,decg,dummy_decoder,atime_decoder,gid_decoder)
(gname_decoder,linkpath_decoder,ctime_decoder,mtime_decoder)
(path_decoder,size_decoder,uid_decoder,uname_decoder)
(sparse_size_decoder,sparse_numblocks_decoder)
(sparse_offset_decoder,sparse_numbytes_decoder): Likewise.
(decode_record): Pass value length to the handler
(run_override_list): Pass value length to the decoder
(xheader_print_n): New function
(xheader_print): Rewritten using xheader_print_n
(xheader_finish): Do not rely om strlen to compute the length of
the collected string: it can contain embedded nulls
(xheader_string_begin,xheader_string_add,xheader_string_end): New
functions.
(sparse_map_decoder,dumpdir_coder,dumpdir_decoder): New
functions. Handle GNU.sparse.map and GNU.dumpdir variables.
(xhdr_tab): Add new variables.

19 years agoTest gnu, oldgnu, and posix formats
Sergey Poznyakoff [Mon, 7 Nov 2005 02:51:22 +0000 (02:51 +0000)] 
Test gnu, oldgnu, and posix formats

19 years ago(struct tar_stat_info.dumpdir): New member.
Sergey Poznyakoff [Mon, 7 Nov 2005 02:50:25 +0000 (02:50 +0000)] 
(struct tar_stat_info.dumpdir): New member.

19 years agoIncremental options are allowed with --format=pax
Sergey Poznyakoff [Mon, 7 Nov 2005 02:50:14 +0000 (02:50 +0000)] 
Incremental options are allowed with --format=pax
(tar_stat_destroy): Free dumpdir

19 years ago(sparse_diff_file): Bugfix: set seekable.
Sergey Poznyakoff [Mon, 7 Nov 2005 02:49:45 +0000 (02:49 +0000)] 
(sparse_diff_file): Bugfix: set seekable.
(pax_dump_header): Store sparse map in GNU.sparse.map. If this
variable has been explicitely deleted, use GNU.sparse.offset/
GNU.sparse.numbytes variables.

19 years ago(list_archive): Handle incremental backups in pax
Sergey Poznyakoff [Mon, 7 Nov 2005 02:49:23 +0000 (02:49 +0000)] 
(list_archive): Handle incremental backups in pax
format.
(decode_header): Initialize stat_info.dumpdir

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