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
Sergey Poznyakoff
4da5205ed6
Update
2006-12-13 08:22:18 +00:00
Sergey Poznyakoff
8241687465
Skip the test if genfile is not able to create the filename with an embedded newline.
2006-12-13 08:22:04 +00:00
Paul Eggert
8e3f3adf98
Port to Forte Developer 7 C 5.4 and C99.
...
* src/common.h (add_exclude_tag): Add decl; C99 requires this
and Forte warns about it.
* src/incremen.c: Include <mkdtemp.h> for mkdtemp prototype,
for same reason.
* src/misc.c (get_max_open_files): Rewrite to avoid code that
Forte C complains about as being unreachable.
* src/xheader.c (mtime_code): Rewrite to avoid Forte error
reported by Trond Hasle Amundsen.
* src/incremen.c (compare_dirnames): Rewrite to avoid casts.
* src/utf8.c (string_ascii_p): Likewise.
* src/xheader.c (mtime_coder, volume_size_coder, volume_offset_coder):
Likewise.
SCALAR(0x8283218)
2006-12-12 23:56:24 +00:00
Sergey Poznyakoff
e5ef01710a
Fix wording
release_1_16_1
2006-12-08 16:59:56 +00:00
Sergey Poznyakoff
e70e63612a
Update
2006-12-08 16:45:34 +00:00
Sergey Poznyakoff
28b26242c7
Add paxutils files to dot_ignore.
2006-12-08 16:45:09 +00:00
Sergey Poznyakoff
6b279a6f8c
Update
2006-12-08 13:40:15 +00:00
Sergey Poznyakoff
079f2d6807
Raise version number to 1.16.1
2006-12-08 13:40:07 +00:00
Sergey Poznyakoff
b09417ca8d
(slurp): Create .(cvs|git)ignore if not present
2006-12-08 13:39:58 +00:00
Sergey Poznyakoff
b15e3f1bbd
Remove autogenerated files
2006-12-08 12:42:32 +00:00
Sergey Poznyakoff
1616b1d1b4
Update
2006-12-07 14:35:13 +00:00
Sergey Poznyakoff
f23bc997fd
Update
2006-12-07 14:34:48 +00:00
Sergey Poznyakoff
8ec119a27f
Update
2006-12-07 14:34:28 +00:00
Sergey Poznyakoff
e35d05b1d2
Use genfile instead of dd, because on some systems /dev/zero is not available.
2006-12-07 14:34:15 +00:00
Sergey Poznyakoff
cdb77dcd7b
(extract_file): Call skip_member if open fails.
...
Patch proposed by Jan-Benedict Glaw <jbglaw@lug-owl.de >
2006-12-07 14:33:54 +00:00
Sergey Poznyakoff
9bf87b195e
(dump_dir0): Move checks for exclude tags to
...
dump_file0.
(dump_dir): Move calls to ensure_slash to dump_file0
2006-12-07 14:33:42 +00:00
Sergey Poznyakoff
643e3f2441
Update documentation of --exclude-tag
2006-12-07 14:33:30 +00:00
Sergey Poznyakoff
6e75833cb7
(distclean-local): Fixed
2006-12-07 14:33:17 +00:00
Paul Eggert
908d78d208
* NEWS: Fix some race conditions with tar -x --same-owner.
...
* src/extract.c (ARCHIVED_PERMSTATS): Add a comment saying that
S_IRWXG | S_IRWXO might be masked out.
(set_mode): Set the mode if some bits were masked out originally.
(set_stat): Don't chmod before chown, as that might temporarily
grant permissions that we don't want to grant. The chmod was
there only to work around broken hosts, so add a comment advising
users not to use those broken hosts instead.
(repair_delayed_set_stat, extract_dir):
Remember to mask out current umask before inverting permissions.
(extract_dir): If the owner might change, or if the mode has
special bits, create the directory 700 at first, but restore it later.
(open_output_file): New arg mode; all uses changed.
(extract_file, extract_node, extract_fifo): If the owner might
change, omit group and other bits at first, but restore them after
changing the owner.
2006-12-04 21:35:56 +00:00
Paul Eggert
192f55e2a0
* doc/tar.texi (Long Options): Remove doubled word.
2006-12-04 09:33:31 +00:00
Sergey Poznyakoff
9d99fd13cd
Update
2006-11-30 09:54:07 +00:00
Sergey Poznyakoff
07902e9f9a
(xheader_read): Remove unused variable
2006-11-30 09:53:20 +00:00
Sergey Poznyakoff
0c94a109b9
Update
2006-11-30 09:42:59 +00:00
Sergey Poznyakoff
27094c4fc3
Implement --update-po and .bootstrap
2006-11-30 09:42:12 +00:00
Sergey Poznyakoff
5aca761e1b
Remove src/mangle.c
2006-11-30 09:41:50 +00:00
Sergey Poznyakoff
cc82db7f2d
(exclude): Document --exclude-tag
2006-11-30 09:41:42 +00:00