mirror of
https://git.savannah.gnu.org/git/tar.git
synced 2026-08-22 01:06:03 +00:00
* 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
This commit is contained in:
@@ -1,8 +1,22 @@
|
||||
2005-11-07 Sergey Poznyakoff <gray@gnu.org.ua>
|
||||
and Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* 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
|
||||
|
||||
2005-11-07 Sergey Poznyakoff <gray@gnu.org.ua>
|
||||
|
||||
Support for incremental formats in pax archives.
|
||||
Fixed POSIX compatibility of `sparse' extended header keywords.
|
||||
|
||||
|
||||
* src/common.h (dumpdir_size,get_gnu_dumpdir)
|
||||
(xheader_string_begin,xheader_string_add)
|
||||
(xheader_string_end): New functions.
|
||||
@@ -39,14 +53,14 @@
|
||||
(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.
|
||||
functions.
|
||||
(sparse_map_decoder,dumpdir_coder,dumpdir_decoder): New
|
||||
functions. Handle GNU.sparse.map and GNU.dumpdir variables.
|
||||
(xhdr_tab): Add new variables.
|
||||
|
||||
* tests/incr01.at: Test gnu, oldgnu, and posix formats
|
||||
* tests/incremental.at: Likewise
|
||||
|
||||
|
||||
2005-11-06 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* src/xheader.c (strtoimax, strtoumax): Remove decls; now done
|
||||
|
||||
Reference in New Issue
Block a user