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
Sergey Poznyakoff
137ebf41fd
(dump_dir0): Implement --exclude-tag option
2006-11-30 09:40:47 +00:00
Paul Eggert
49ea4c5057
* NEWS: Remove support for mangled names.
...
* doc/tar.texi (verbose tutorial): Likewise.
* src/Makefile.am (tar_SOURCES): Remove mangle.c.
* src/common.h (extract_mangle): Remove decl.
* src/extract.c (extract_mangle_wrapper): Remove.
(prepare_to_extract): Remove support for mangled names.
* src/list.c (read_and, print_header): Likewise.
* src/mangle.c: Remove.
* src/tar.h (GNUTYPE_NAMES): Remove.
2006-11-30 06:39:29 +00:00
Paul Eggert
409bddf38c
* lib/.cvsignore: Add fstatat.c, gnulib.mk, openat-proc.c, same-inode.h, stat_.h,
...
tempname.c, tempname.h, uinttostr.c.
2006-11-30 06:27:24 +00:00
Paul Eggert
c930802f31
Port to latest gnulib. There were a lot of changes, so the
...
simplest way to get this up and running was to switch to coreutils
bootstrap procedure. I noticed one feature missing after this
merge: the ability to update a single .po file. I can add that
later if need be.
* README-cvs, bootstrap.conf: New files.
* lib/.cvsignore: Remove Makefile.am, printf-parse.c, vasnprintf.c.
* lib/printf-parse.c, lib/vasnprintf.c: New files, from coreutils,
to override gnulib, so that we don't need xsize.h.
* bootstrap: Replace with coreutils bootstrap, except add support
for paxutils.
* configure.ac (gl_USE_SYSTEM_EXTENSIONS): Remove, as gl_EARLY now
does this.
(gl_EARLY, gl_INIT): Add.
(tar_GNULIB): Remove.
* gnulib.modules: Add configmake.
* lib/Makefile.tmpl: Remove, replacing with....
* lib/Makefile.am: New file.
* src/Makefile.am (tar.o): Remove dependency: Automake does this
for us.
* src/tar.c: Include <configmake.h> and <rmt-command.h>, not
<localedir.h>.
2006-11-30 00:14:10 +00:00
Paul Eggert
ca14885884
Remove trailing white space.
2006-11-29 18:28:45 +00:00
Paul Eggert
01d6188297
Remove trailing white space.
2006-11-29 18:16:27 +00:00
Paul Eggert
759c5208c5
Remove trailing white space.
2006-11-29 18:11:34 +00:00
Sergey Poznyakoff
8457e06b99
Do not depend on command timing.
2006-11-13 10:42:19 +00:00
Sergey Poznyakoff
8719c4f680
Update
2006-11-13 10:41:47 +00:00
Sergey Poznyakoff
574022ab78
Do not use 'k' modifier in dd options.
2006-11-13 10:41:34 +00:00
Sergey Poznyakoff
304d8b9f0c
(start_header): Pass mtime as a call-specific data to xheader_store.
2006-11-13 10:39:51 +00:00
Sergey Poznyakoff
6712656eb2
(mtime_coder): Treat non-null data as a pointer to struct timespec, overriding st->mtime
2006-11-13 10:39:15 +00:00
Sergey Poznyakoff
415d9c9e15
Update copyright year
2006-11-01 00:30:45 +00:00
Sergey Poznyakoff
1a8141ab8a
Update
2006-11-01 00:24:44 +00:00
Sergey Poznyakoff
023c766600
Do not assume tar's default archive is stdout
2006-11-01 00:24:19 +00:00
Sergey Poznyakoff
fdb46aa2e2
Add more keywords
2006-11-01 00:24:09 +00:00
Sergey Poznyakoff
2504e7d3ae
Add new test cases.
2006-11-01 00:23:52 +00:00
Sergey Poznyakoff
b0765e257c
(enum read_file_list_state.file_list_skip): New value
...
(read_name_from_file): Skip zero-length entries
2006-11-01 00:23:24 +00:00
Sergey Poznyakoff
73d4c40a87
Update
2006-10-31 20:19:30 +00:00
Sergey Poznyakoff
7aed52718f
Call last_component instead of base_name. The latter returns a malloced string since 2006-03-11.
2006-10-31 20:18:50 +00:00
Sergey Poznyakoff
f572ca0cfb
Update
release_1_16
2006-10-21 16:48:08 +00:00
Sergey Poznyakoff
29236a68fa
(distclean-local): New rule
2006-10-21 16:47:56 +00:00
Sergey Poznyakoff
a4b1564d4a
Version 1.16
2006-10-21 16:47:42 +00:00
Sergey Poznyakoff
94d0385a57
Update
2006-10-17 08:14:06 +00:00
Sergey Poznyakoff
603c1d60a6
Fix help output formatting. Thanks Benno Schulenberg.
2006-10-17 08:13:43 +00:00
Sergey Poznyakoff
29e9004b69
Update
2006-10-16 07:51:40 +00:00
Sergey Poznyakoff
8da152d2b3
Update
2006-10-16 07:49:00 +00:00
Sergey Poznyakoff
00746182f3
(dist-hook): Create a cpio archive.
2006-10-16 07:48:51 +00:00
Sergey Poznyakoff
6c8815909d
Update
2006-10-14 21:13:28 +00:00
Sergey Poznyakoff
fde336b21a
(AT_KEYWORDS): Keyword `filechange'
...
Test tar exit status.
2006-10-14 21:12:42 +00:00
Sergey Poznyakoff
394b12d950
New test grow.at
2006-10-14 21:12:04 +00:00
Sergey Poznyakoff
372638ae7a
Do not attempt to close stderr after call to close_stdout.
2006-10-14 21:11:43 +00:00
Sergey Poznyakoff
c455373e5b
(dump_regular_file,dump_file0): Set exit_status to
...
TAREXIT_DIFFERS if the file being dumped was truncated or
otherwise changed.
2006-10-14 21:11:27 +00:00
Sergey Poznyakoff
f2541c66cd
(Synopsis): Document tar exit codes.
2006-10-14 21:11:03 +00:00
Sergey Poznyakoff
7e6d54d0c0
Update
2006-10-14 10:48:14 +00:00
Sergey Poznyakoff
876e554157
(AT_KEYWORDS): Add stdout keyword
2006-10-14 10:46:24 +00:00
Sergey Poznyakoff
1118d24fd3
New test verbose.at
2006-10-14 10:46:13 +00:00
Sergey Poznyakoff
dc6f7ebf20
(_open_archive): Make sure stdlis is set to stderr
...
when we are writing archive to stdout (unless --index-file is
used). Bug introduced on 2006-07-06.
2006-10-14 10:45:44 +00:00