Sergey Poznyakoff
6f929b2c89
(buffer_write_global_xheader): New function
...
Update to use new xheader calls.
2007-05-19 17:03:01 +00:00
Sergey Poznyakoff
64cddf2fbc
(xheader_init): New function
...
(xheader_decode_global,xheader_store,xheader_read)
(xheader_write_global,xheader_write,xheader_string_begin)
(xheader_string_add,xheader_string_end): Take xhdr as first
argument.
2007-05-19 17:02:46 +00:00
Sergey Poznyakoff
ccdbafb276
(struct xheader): New definition
...
(struct tar_stat_info): New member xhdr (extended header).
2007-05-19 17:02:29 +00:00
Sergey Poznyakoff
bd222d606a
(buffer_write_global_xheader): New function
...
(struct xheader): Move definition to tar.h
(extended_header): Remove global
(xheader_init): New function
(xheader_decode_global,xheader_store,xheader_read)
(xheader_write_global,xheader_write,xheader_string_begin)
(xheader_string_add,xheader_string_end): Take xhdr as first
argument.
2007-05-19 17:02:13 +00:00
Sergey Poznyakoff
94fb06f5db
Fix typos
2007-05-18 09:14:54 +00:00
Sergey Poznyakoff
74d217db74
Update
2007-05-18 08:22:33 +00:00
Sergey Poznyakoff
17ef61b2fd
(dump_file0): Original ctime cannot be used as a directory change indicator if --remove-files is given.
2007-05-18 08:22:21 +00:00
Paul Eggert
f32828d577
Adjust to latest Gnulib.
...
* lib/.cvsignore: Add dirfd.c, dirfd.h, float+.h, mbscasecmp.c,
stdio.h, stdio_.h, stdlib.h, stdlib_.h, time.h, time_.h, unistd.h.
Remove exit.h, getcwd.h, mempcpy.h, memrchr.h, mkdtemp.h, stpcpy.h,
strcase.h, strchrnul.h, strdup.h, strndup.h, strnlen.h, time_r.h,
vsnprintf.h.
* m4/.cvsignore: Remove localedir.h. Sort.
2007-04-13 00:51:07 +00:00
Sergey Poznyakoff
e67e085421
Update
2007-04-03 21:52:52 +00:00
Sergey Poznyakoff
ca856c2585
(main): Don't call closeopen.
2007-04-03 21:52:42 +00:00
Sergey Poznyakoff
18641602c1
Don't include <sys/time.h>, <sys/resource.h>; no longer needed.
2007-04-03 21:52:20 +00:00
Sergey Poznyakoff
8bdbc08a89
(closeopen): Remove decl.
2007-04-03 21:52:01 +00:00
Sergey Poznyakoff
a5d5cc599f
Update
2007-04-03 21:38:40 +00:00
Sergey Poznyakoff
761895d43c
Update
2007-04-03 21:38:14 +00:00
Sergey Poznyakoff
5d4f057e31
(sys_exec_info_script): Store the inter-communication fd in the environment variable TAR_FD
2007-04-03 21:38:00 +00:00
Sergey Poznyakoff
7c0ba663c8
Update
2007-04-03 12:31:24 +00:00
Sergey Poznyakoff
51118be241
Expect a warning on stderr
2007-04-03 12:30:43 +00:00
Sergey Poznyakoff
69f5d77383
Update
2007-04-03 12:18:53 +00:00
Sergey Poznyakoff
d989864712
(main): Move closeopen after decode_options to allow shell process substitution to work.
2007-04-03 12:18:40 +00:00
Sergey Poznyakoff
983d328ff2
Restore accidentally deleted lines
2007-03-30 19:28:22 +00:00
Sergey Poznyakoff
586c684815
(transform_name_fp): Change signature. All callers updated.
2007-03-30 19:20:52 +00:00
Sergey Poznyakoff
bbf7dec45e
Fix indentation
2007-03-30 19:19:56 +00:00
Sergey Poznyakoff
40f79286ab
Update
2007-03-30 19:18:46 +00:00
Sergey Poznyakoff
ebc522d521
(all_names_found): Remove check for matching_flags.
2007-03-30 19:18:35 +00:00
Sergey Poznyakoff
ad85f632c6
(transform_member_name): New function
...
(decode_header): Use transform_member_name
2007-03-30 19:18:24 +00:00
Sergey Poznyakoff
062b37115f
(extract_link, extract_symlink): Use
...
transform_member_name instead of safer_name_suffix so that
--transform and --strip-components affect links as well.
2007-03-30 19:18:10 +00:00
Sergey Poznyakoff
6261c58ae8
(transform_name_fp): Change signature
...
(transform_member_name): New function
2007-03-30 19:17:44 +00:00
Sergey Poznyakoff
427bda01a3
Update
2007-03-30 08:50:21 +00:00
Sergey Poznyakoff
1d26fff0f3
Do not include mkdtemp.h
2007-03-30 08:50:08 +00:00
Sergey Poznyakoff
bb6b92e37d
(slurp): Remove any occurrences of $bt from the generated gnulib.mk
2007-03-30 08:49:56 +00:00
Sergey Poznyakoff
8ca4064a8c
Update
2007-03-30 08:49:38 +00:00
Paul Eggert
5c890a6003
Adjust to recent gnulib changes.
...
* lib/.cvsignore: Add fchownat.c, rmt-command.h, strerror.c, string.h,
string_.h, sys, sys_time_.h, unistd_.h, wchar_.h, wctype_.h.
Remove localedir.h, size_max.h, xsize.h.
* src/xheader.c: Don't include stpcpy.h; no longer needed, now that
gnulib string.h defines stpcpy on all platforms.
2007-01-26 23:02:40 +00:00
Sergey Poznyakoff
3705fd6452
Update
2007-01-23 10:26:40 +00:00
Sergey Poznyakoff
bde442ba15
Add exclude.at
2007-01-23 10:26:30 +00:00
Sergey Poznyakoff
c9a8f1bc33
New test case
2007-01-23 10:26:20 +00:00
Sergey Poznyakoff
66e9b9cd6c
New options --exclude-caches-all, --exclude-caches-under, --exclude-tag-all, --exclude-tag-under
2007-01-23 10:25:21 +00:00
Sergey Poznyakoff
b9588c4722
(struct exclude_tag): rename to exclusion_tag
...
(check_exclusion_tags): New function
(cachedir_file_p): New function (from check_cache_directory)
(dump_dir0,dump_file0): Use check_exclusion_tags
2007-01-23 10:25:06 +00:00
Sergey Poznyakoff
9a41b3b3db
(exclude_caches_option): Remove
...
(enum exclusion_tag_type): New data type
(add_exclude_tag): Rename to add_exclusion_tag
(cachedir_file_p): New prototype
2007-01-23 10:24:43 +00:00
Sergey Poznyakoff
990e7d4437
Document --exclude-caches* and --exclude-tag* options.
2007-01-23 10:24:19 +00:00
Sergey Poznyakoff
173d3229e3
Update
2007-01-19 15:43:13 +00:00
Sergey Poznyakoff
2d261da8f9
Version 1.16.2
2007-01-19 15:42:43 +00:00
Sergey Poznyakoff
99527fa17b
(sparse_skip_file,pax_dump_header_1)
...
(pax_decode_header): Keep track of the number of bytes written.
2007-01-19 15:42:26 +00:00
Sergey Poznyakoff
868ee74028
(expand_sparse): use ftruncate to handle the trailing hole
2007-01-19 15:41:55 +00:00
Sergey Poznyakoff
8c90bf0414
Fix typos
2007-01-19 15:41:39 +00:00
Sergey Poznyakoff
892cdea8a1
Require strerror
2007-01-19 15:41:32 +00:00
Sergey Poznyakoff
00763876f1
Update
2007-01-04 20:06:33 +00:00
Sergey Poznyakoff
1a1cfaafa6
(list_dumpdir): Minor fixes.
2007-01-04 20:05:32 +00:00
Sergey Poznyakoff
445d95be07
(diff_dumpdir): Compare directory contents using
...
dumpdir_cmp. Do not free dumpdir_buffer, it will leave the
incremental directory table in the inconsistent state and trigger
full dump.
(read_and_process): Process dumpdirs no matter what the archive
format.
2007-01-04 20:05:05 +00:00
Sergey Poznyakoff
6fe55234c9
Update
2007-01-04 16:16:00 +00:00
Sergey Poznyakoff
e24d8574a8
(read_and_process): Fix type of "size"
2007-01-04 16:15:10 +00:00