Paul Eggert
cfbf693855
* 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.
2005-11-07 04:03:29 +00:00
Sergey Poznyakoff
35f5b48815
Update
2005-11-07 02:55:25 +00:00
Sergey Poznyakoff
374ae10d39
(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.
2005-11-07 02:52:58 +00:00
Sergey Poznyakoff
4d22cbd47c
Test gnu, oldgnu, and posix formats
2005-11-07 02:51:22 +00:00
Sergey Poznyakoff
e20e79e7ff
(struct tar_stat_info.dumpdir): New member.
2005-11-07 02:50:25 +00:00
Sergey Poznyakoff
f865597c89
Incremental options are allowed with --format=pax
...
(tar_stat_destroy): Free dumpdir
2005-11-07 02:50:14 +00:00
Sergey Poznyakoff
1b9c48d934
(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.
2005-11-07 02:49:45 +00:00
Sergey Poznyakoff
f6458a827a
(list_archive): Handle incremental backups in pax
...
format.
(decode_header): Initialize stat_info.dumpdir
2005-11-07 02:49:23 +00:00
Sergey Poznyakoff
08a8d2dec6
(dumpdir_size, get_gnu_dumpdir): New functions.
...
(purge_directory): Use stat_info.dumpdir instead of getting its
value explicitely.
2005-11-07 02:48:51 +00:00
Sergey Poznyakoff
aea1d50da9
(dump_dir0): Handle incremental backups in pax archives
2005-11-07 02:48:23 +00:00
Sergey Poznyakoff
588232f859
(dumpdir_size,get_gnu_dumpdir)
...
(xheader_string_begin,xheader_string_add)
(xheader_string_end): New functions.
2005-11-07 02:48:08 +00:00
Paul Eggert
4c4c5a4dc1
Minor language and white space fixes.
2005-11-07 00:25:52 +00:00
Paul Eggert
d144e7c217
* tests/truncate.at: Use -H pax to preserve full time stamp resolution.
...
This prevents tests from failing on hosts like Solaris 8 that have
nanosecond-resolution file time stamps.
* tests/update.at: Likewise.
2005-11-06 23:29:30 +00:00
Paul Eggert
ef9ad717ba
* src/xheader.c (strtoimax, strtoumax): Remove decls; now done
...
in system.h.
2005-11-06 22:48:34 +00:00
Sergey Poznyakoff
85ce2c24f8
Update
2005-11-06 11:52:02 +00:00
Sergey Poznyakoff
d01f65092c
Properly document incremental dumps
2005-11-06 11:51:12 +00:00
Sergey Poznyakoff
04e2551256
Update
2005-11-05 16:49:47 +00:00
Sergey Poznyakoff
8b2504deca
Update
2005-11-05 16:49:17 +00:00
Sergey Poznyakoff
ad09c8373b
New file
2005-11-05 16:47:49 +00:00
Sergey Poznyakoff
5b91f80787
Update
2005-11-05 15:57:07 +00:00
Sergey Poznyakoff
ef981aae38
Never skip the test. It should work on any filesystem
2005-11-05 15:55:38 +00:00
Sergey Poznyakoff
36f1d689e4
Sleep 1 sec before creating second file.
2005-11-05 15:55:19 +00:00
Sergey Poznyakoff
1e304fc5fd
(struct directory.mtime): New member.
...
(note_directory): Take additional arguments. All callers updated.
(scan_directory): Updated to use more metadata. In particular,
this allows to correctly detect renamed files.
(read_directory_file,write_directory_file)
(write_directory_file_entry): Support new directory file format.
2005-11-05 15:55:05 +00:00
Sergey Poznyakoff
b100f6ae5b
(dump_file): Call update_parent_directory.
2005-11-05 15:54:30 +00:00
Sergey Poznyakoff
a6d2158837
(update_parent_directory): New prototype.
2005-11-05 15:54:14 +00:00
Paul Eggert
c641a16cba
(set_stat): Rewrite to avoid bug in Forte
...
Developer 7 C 5.4 Patch 111708-09 (2004-02-19).
2005-11-04 21:25:47 +00:00
Sergey Poznyakoff
65a7536d1f
Updated
2005-11-04 12:42:03 +00:00
Sergey Poznyakoff
8c119485a9
Updated
2005-11-04 12:41:25 +00:00
Sergey Poznyakoff
a02a9ed099
Update
2005-11-04 07:48:32 +00:00
Sergey Poznyakoff
71976fa77e
Add Eric Blake
2005-11-04 07:38:44 +00:00
Sergey Poznyakoff
c2552c6c40
Fix quoting in help output.
...
(update_po): Use backward-compatible wget option --cache instead
of deprecated -C to accomodate for wget 1.10.
Changes proposed by Eric Blake
2005-11-04 07:38:23 +00:00
Paul Eggert
b272b3e2cf
* doc/tar.texi: Consistently put two spaces after sentences,
...
and put commas after "i.e." and "e.g.". This is the usual GNU
style in manuals.
2005-11-02 23:03:39 +00:00
Paul Eggert
c44d0d037f
* lib/.cvsignore: Accommodate recent gnulib changes.
2005-11-02 22:45:07 +00:00
Paul Eggert
9c50f854a6
Add creat-safer.c, fcntl--.h, fcntl-safer.h,
...
open-safer.c, openat-die.c, verify.h, to accommodate recent gnulib
changes.
2005-11-02 22:44:46 +00:00
Sergey Poznyakoff
fc42672fe0
Updated
2005-10-28 09:29:31 +00:00
Sergey Poznyakoff
64aea5de53
If file `.bootstrap' exists in the cwd and is readable, prepend its contents to the command line
2005-10-28 09:29:16 +00:00
Sergey Poznyakoff
391c6f6bdb
Add John Thomas McDole
2005-10-28 09:28:39 +00:00
Sergey Poznyakoff
9684c2728d
(diff_dumpdir): Pass a valid device number to get_directory_contents.
2005-10-28 09:28:20 +00:00
Sergey Poznyakoff
cb8aacd9ef
Updated
2005-10-21 18:15:09 +00:00
Sergey Poznyakoff
3ae9e51181
Skip test if ln fails (suppose the OS does not support hard links)
2005-10-21 18:13:59 +00:00
Sergey Poznyakoff
7a246ab602
Updated
2005-10-04 07:31:28 +00:00
Sergey Poznyakoff
35b9ca72db
(decode_options): Report error if -A or -r is used together with compression option.
2005-10-04 07:30:48 +00:00
Sergey Poznyakoff
ecdef9daaa
Fix cover page
2005-09-30 19:49:37 +00:00
Sergey Poznyakoff
eb744655a8
Updated
2005-09-29 16:31:27 +00:00
Sergey Poznyakoff
57fcb1639e
Use @option and @kbd consistently. Document new options.
2005-09-29 16:28:06 +00:00
Sergey Poznyakoff
49f39c25b4
Updated
2005-09-28 20:42:39 +00:00
Sergey Poznyakoff
40da86b2a1
Implement --show-stored-names option
2005-09-28 20:41:57 +00:00
Sergey Poznyakoff
15b75f848e
(print_header): If show_stored_names_option is given,
...
list member names as stored in the archive. Patch proposed by Erik
Cumps <erik.cumps@icos.be >
2005-09-28 20:41:38 +00:00
Sergey Poznyakoff
2a25112552
(show_stored_names_option): New variable
2005-09-28 20:41:10 +00:00
Sergey Poznyakoff
b2b60efaaf
Updated
2005-09-28 19:42:09 +00:00