summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
37edfd9)
* lib/.cvsignore: Remove atexit.c, exit.c, getndelim2.c, getndelim2.h,
pathmax.h, paxconvert.c, paxerror.h, xstrdup.c.
Add inttypes.h, mktime.c, wcwidth.h, xstrndup.c, xstrndup.h.
* src/create.c (start_header): Adjust to API change to mode_adjust.
+2006-07-16 Paul Eggert <eggert@cs.ucla.edu>
+
+ Adjust to recent gnulib changes.
+ * lib/.cvsignore: Remove atexit.c, exit.c, getndelim2.c, getndelim2.h,
+ pathmax.h, paxconvert.c, paxerror.h, xstrdup.c.
+ Add inttypes.h, mktime.c, wcwidth.h, xstrndup.c, xstrndup.h.
+ * src/create.c (start_header): Adjust to API change to mode_adjust.
+
2006-07-09 Sergey Poznyakoff <gray@gnu.org.ua>
* THANKS: Add Ralf Wildenhues
2006-07-09 Sergey Poznyakoff <gray@gnu.org.ua>
* THANKS: Add Ralf Wildenhues
2006-07-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/dumpdir.texi, doc/snapshot.texi, doc/sparse.texi,
2006-07-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* doc/dumpdir.texi, doc/snapshot.texi, doc/sparse.texi,
- doc/tar.texi: Fix some typos.
+ doc/tar.texi: Fix some typos.
2006-07-06 Sergey Poznyakoff <gray@gnu.org.ua>
tar --index-file=FILE --file=- sent the archive to FILE, and
the listing to stderr. Bug reported by Marcin Gryszkalis
2006-07-06 Sergey Poznyakoff <gray@gnu.org.ua>
tar --index-file=FILE --file=- sent the archive to FILE, and
the listing to stderr. Bug reported by Marcin Gryszkalis
* src/buffer.c (_open_archive): Remove stdlis initialization
* src/tar.c (decode_options): Initialize stdlis
* tests/indexfile.at: New test case
* src/buffer.c (_open_archive): Remove stdlis initialization
* src/tar.c (decode_options): Initialize stdlis
* tests/indexfile.at: New test case
* doc/Makefile.am (manual): Fix TEXINPUTS
* doc/rendition.texi (FIXME): Do not use deprecated @quote-args.
Do not use @allow-recursion. In its current form the macro is not
* doc/Makefile.am (manual): Fix TEXINPUTS
* doc/rendition.texi (FIXME): Do not use deprecated @quote-args.
Do not use @allow-recursion. In its current form the macro is not
2006-07-03 Sergey Poznyakoff <gray@gnu.org.ua>
2006-07-03 Sergey Poznyakoff <gray@gnu.org.ua>
- * bootstrap (update_po): Fix single translation update
+ * bootstrap (update_po): Fix single translation update
2006-07-03 Sergey Poznyakoff <gray@gnu.org.ua>
2006-07-03 Sergey Poznyakoff <gray@gnu.org.ua>
* src/tar.c (main): Call closeopen
* doc/tar.texi: Update --directory description
* NEWS: Update
* src/tar.c (main): Call closeopen
* doc/tar.texi: Update --directory description
* NEWS: Update
2006-06-26 Sergey Poznyakoff <gray@gnu.org.ua>
* doc/tar.texi: Update. Add cross-references.
2006-06-26 Sergey Poznyakoff <gray@gnu.org.ua>
* doc/tar.texi: Update. Add cross-references.
* src/create.c: Use ST_IS_SPARSE instead of sparse_file_p (update
paxutils first)
* src/tar.c: --sparse-version turns on --sparse
* src/create.c: Use ST_IS_SPARSE instead of sparse_file_p (update
paxutils first)
* src/tar.c: --sparse-version turns on --sparse
2006-06-24 Sergey Poznyakoff <gray@gnu.org.ua>
* src/buffer.c (print_total_stats): Add default case.
2006-06-24 Sergey Poznyakoff <gray@gnu.org.ua>
* src/buffer.c (print_total_stats): Add default case.
* tests/spmpv00.at, tests/spmvp01.at, tests/spmvp10.at: New
testcases.
* tests/spmpv00.at, tests/spmvp01.at, tests/spmvp10.at: New
testcases.
* tests/Makefile.am: Add spmvp00.at, spmpv01.at, spmpv10.at
* tests/shortrec.at: Explicitely give `-f -' to the tar invocation
* tests/sparsemvp.at: Rewritten as an include file.
* tests/Makefile.am: Add spmvp00.at, spmpv01.at, spmpv10.at
* tests/shortrec.at: Explicitely give `-f -' to the tar invocation
* tests/sparsemvp.at: Rewritten as an include file.
modification times for all archive members during creation.
(struct tar_args): textual_date_option replaced with a linked list
textual_date. All references updated.
modification times for all archive members during creation.
(struct tar_args): textual_date_option replaced with a linked list
textual_date. All references updated.
- (get_date_or_file,report_textual_dates): New functions.
+ (get_date_or_file,report_textual_dates): New functions.
* configure.ac: Raise version number to 1.15.92
* NEWS: Update
* configure.ac: Raise version number to 1.15.92
* NEWS: Update
2006-06-20 Sergey Poznyakoff <gray@gnu.org.ua>
* src/common.h (struct name.explicit): Remove
2006-06-20 Sergey Poznyakoff <gray@gnu.org.ua>
* src/common.h (struct name.explicit): Remove
* doc/Makefile.am (check-options): New goal
* doc/tar.texi: Update
* src/tar.c: Implement --overwrite-dir option (long ago
* doc/Makefile.am (check-options): New goal
* doc/tar.texi: Update
* src/tar.c: Implement --overwrite-dir option (long ago
2006-06-12 Sergey Poznyakoff <gray@gnu.org.ua>
2006-06-12 Sergey Poznyakoff <gray@gnu.org.ua>
argument means "print dots instead of textual checkpoints".
(tar_help): New function
* src/transform.c: Minor fixes.
argument means "print dots instead of textual checkpoints".
(tar_help): New function
* src/transform.c: Minor fixes.
2006-06-08 Sergey Poznyakoff <gray@gnu.org.ua>
* gnulib.modules: Add mkdtemp
2006-06-08 Sergey Poznyakoff <gray@gnu.org.ua>
* gnulib.modules: Add mkdtemp
(purge_directory): Re-implement renaming. Introduce
'X' control code.
(make_tmp_dir_name): Remove
(purge_directory): Re-implement renaming. Introduce
'X' control code.
(make_tmp_dir_name): Remove
* src/transform.c (set_transform_expr,_transform_name_to_obstack):
Implement NUMBER flag.
(add_char_segment): Fix length assignement
* src/transform.c (set_transform_expr,_transform_name_to_obstack):
Implement NUMBER flag.
(add_char_segment): Fix length assignement
2006-06-07 Sergey Poznyakoff <gray@gnu.org.ua>
2006-06-07 Sergey Poznyakoff <gray@gnu.org.ua>
* tests/multiv04.at: Use genfile --files-from
(Above changes need new genfile.c from paxutils)
* tests/multiv04.at: Use genfile --files-from
(Above changes need new genfile.c from paxutils)
* TODO: Update
* NEWS: Update
* doc/tar.texi: Update
* TODO: Update
* NEWS: Update
* doc/tar.texi: Update
2006-05-31 Sergey Poznyakoff <gray@gnu.org.ua>
* src/incremen.c (make_directory): Fix initialization of struct
2006-05-31 Sergey Poznyakoff <gray@gnu.org.ua>
* src/incremen.c (make_directory): Fix initialization of struct
2006-05-25 Sergey Poznyakoff <gray@gnu.org.ua>
2006-05-25 Sergey Poznyakoff <gray@gnu.org.ua>
* tests/append.at, tests/append01.at, tests/extrac01.at,
tests/options.at, tests/options02.at, tests/same-order01.at,
tests/same-order02.at: Make AT_SETUP more readable.
* tests/append.at, tests/append01.at, tests/extrac01.at,
tests/options.at, tests/options02.at, tests/same-order01.at,
tests/same-order02.at: Make AT_SETUP more readable.
2006-05-23 Sergey Poznyakoff <gray@gnu.org.ua>
* src/buffer.c (change_tape_menu): Fix typo (uninitialized
2006-05-23 Sergey Poznyakoff <gray@gnu.org.ua>
* src/buffer.c (change_tape_menu): Fix typo (uninitialized
(AT_STAR_PREREQ): Provide md5 sum.
* lib/.cvsignore: Update
(AT_STAR_PREREQ): Provide md5 sum.
* lib/.cvsignore: Update
2006-05-08 Sergey Poznyakoff <gray@gnu.org.ua>
2006-05-08 Sergey Poznyakoff <gray@gnu.org.ua>
-
- * tests/testsuite.at (AT_SORT_PREREQ, AT_UNPRIVILEGED_PREREQ): New
+
+ * tests/testsuite.at (AT_SORT_PREREQ, AT_UNPRIVILEGED_PREREQ): New
* tests/extrac04.at, tests/incr03.at, tests/listed02.at,
tests/pipe.at, tests/rename01.at, tests/rename02.at,
tests/rename03.at, tests/same-order01.at: Call
* tests/extrac04.at, tests/incr03.at, tests/listed02.at,
tests/pipe.at, tests/rename01.at, tests/rename02.at,
tests/rename03.at, tests/same-order01.at: Call
directories. Handle renamed directories more effectively
(initial implementation, more updates to follow).
Source tree before this point is tagged
directories. Handle renamed directories more effectively
(initial implementation, more updates to follow).
Source tree before this point is tagged
- alpha_1_15_90_incremental_1.
-
+ alpha_1_15_90_incremental_1.
+
* NEWS: Update
* configure.ac: Raise version number to 1.15.91
* src/common.h (rename_directory,append_incremental_renames): New
* NEWS: Update
* configure.ac: Raise version number to 1.15.91
* src/common.h (rename_directory,append_incremental_renames): New
(procdir): Change return type to struct directory. Return
immediately if the directory was already initialized. Discover
directory renames using directory_meta_table.
(procdir): Change return type to struct directory. Return
immediately if the directory was already initialized. Discover
directory renames using directory_meta_table.
- (append_incremental_renames): New function.
+ (append_incremental_renames): New function.
(read_directory_file, write_directory_file): Use new snapshot file
format.
* src/names.c (collect_and_sort_names): Update dir_contents of the
first non-fake name entry when in listed incremental mode.
(read_directory_file, write_directory_file): Use new snapshot file
format.
* src/names.c (collect_and_sort_names): Update dir_contents of the
first non-fake name entry when in listed incremental mode.
* tests/incr03.at: New testcase
* tests/rename01.at: New testcase
* tests/rename02.at: New testcase
* tests/incr03.at: New testcase
* tests/rename01.at: New testcase
* tests/rename02.at: New testcase
tests/pipe.at, tests/same-order01.at, tests/same-order02.at,
tests/sparse01.at, tests/sparse03.at: Always use genfile --file,
this enables extra error checking.
tests/pipe.at, tests/same-order01.at, tests/same-order02.at,
tests/sparse01.at, tests/sparse03.at: Always use genfile --file,
this enables extra error checking.
* tests/multiv03.at: Attempt to extract a member with truncated
file name from the archive.
* tests/multiv03.at: Attempt to extract a member with truncated
file name from the archive.
* src/buffer.c (_open_archive): Remove unnecessary argument to
* src/buffer.c (_open_archive): Remove unnecessary argument to
- check_compressed_archive.
+ check_compressed_archive.
2006-04-25 Sergey Poznyakoff <gray@gnu.org.ua>
2006-04-25 Sergey Poznyakoff <gray@gnu.org.ua>
* src/extract.c (extract_dir): Fix toggling existing directory
permissions (Debian bug #361077). Use parts of patch provided by
* src/extract.c (extract_dir): Fix toggling existing directory
permissions (Debian bug #361077). Use parts of patch provided by
- Ian Jackson <iwj@ubuntu.com>.
+ Ian Jackson <iwj@ubuntu.com>.
* src/compare.c: Minor changes
* src/incremen.c (directory.new): New member
(note_directory,find_directory: Use make_directory to create
* src/compare.c: Minor changes
* src/incremen.c (directory.new): New member
(note_directory,find_directory: Use make_directory to create
(procdir): Avoid duplicating directories in the incremental
backup map.
* tests/Makefile.am (TESTSUITE_AT): Add extrac06.at
(procdir): Avoid duplicating directories in the incremental
backup map.
* tests/Makefile.am (TESTSUITE_AT): Add extrac06.at
- * tests/testsuite.at: Include extrac06.at
-
+ * tests/testsuite.at: Include extrac06.at
+
2006-03-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (trivial change)
* tests/atlocal.in (PATH): Add build-aux from the source tree,
2006-03-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (trivial change)
* tests/atlocal.in (PATH): Add build-aux from the source tree,
argp-xinl.c
argp.h
asnprintf.c
argp-xinl.c
argp.h
asnprintf.c
backupfile.c
backupfile.h
basename.c
backupfile.c
backupfile.h
basename.c
error.h
exclude.c
exclude.h
error.h
exclude.c
exclude.h
exit.h
exitfail.c
exitfail.h
exit.h
exitfail.c
exitfail.h
getdelim.h
getline.c
getline.h
getdelim.h
getline.c
getline.h
-getndelim2.c
-getndelim2.h
getopt.c
getopt.h
getopt1.c
getopt.c
getopt.h
getopt1.c
intprops.h
inttostr.c
inttostr.h
intprops.h
inttostr.c
inttostr.h
lchown.c
lchown.h
localcharset.c
lchown.c
lchown.h
localcharset.c
mkdirat.c
mkdtemp.c
mkdtemp.h
mkdirat.c
mkdtemp.c
mkdtemp.h
modechange.c
modechange.h
obstack.c
modechange.c
modechange.h
obstack.c
openat-priv.h
openat.c
openat.h
openat-priv.h
openat.c
openat.h
paxexit.c
paxlib.h
paxnames.c
paxexit.c
paxlib.h
paxnames.c
version-etc.h
vsnprintf.c
vsnprintf.h
version-etc.h
vsnprintf.c
vsnprintf.h
xalloc-die.c
xalloc.h
xgetcwd.c
xgetcwd.h
xmalloc.c
xsize.h
xalloc-die.c
xalloc.h
xgetcwd.c
xgetcwd.h
xmalloc.c
xsize.h
xstrtol.c
xstrtol.h
xstrtoul.c
xstrtol.c
xstrtol.h
xstrtoul.c
char const *minval_string;
char const *maxval_string = STRINGIFY_BIGINT (maxval, maxbuf);
char const *value_string;
char const *minval_string;
char const *maxval_string = STRINGIFY_BIGINT (maxval, maxbuf);
char const *value_string;
if (gnu_format)
{
uintmax_t m = maxval + 1 ? maxval + 1 : maxval / 2 + 1;
if (gnu_format)
{
uintmax_t m = maxval + 1 ? maxval + 1 : maxval / 2 + 1;
}
else
minval_string = "0";
}
else
minval_string = "0";
if (negative)
{
char *p = STRINGIFY_BIGINT (- value, valbuf + 1);
if (negative)
{
char *p = STRINGIFY_BIGINT (- value, valbuf + 1);
}
else
value_string = STRINGIFY_BIGINT (value, valbuf);
}
else
value_string = STRINGIFY_BIGINT (value, valbuf);
if (substitute)
{
int negsub;
if (substitute)
{
int negsub;
}
else
substitute = NULL; /* No substitution for formats, other than GNU */
}
else
substitute = NULL; /* No substitution for formats, other than GNU */
return to_chars_subst (negative, gnu_format, value, valsize, substitute,
where, size, type);
}
return to_chars_subst (negative, gnu_format, value, valsize, substitute,
where, size, type);
}
if (mode_option)
st->stat.st_mode =
((st->stat.st_mode & ~MODE_ALL)
if (mode_option)
st->stat.st_mode =
((st->stat.st_mode & ~MODE_ALL)
- | mode_adjust (st->stat.st_mode, mode_option, initial_umask));
+ | mode_adjust (st->stat.st_mode, S_ISDIR (st->stat.st_mode) != 0,
+ initial_umask, mode_option, NULL));
/* Paul Eggert tried the trivial test ($WRITER cf a b; $READER tvf a)
for a few tars and came up with the following interoperability
/* Paul Eggert tried the trivial test ($WRITER cf a b; $READER tvf a)
for a few tars and came up with the following interoperability
ok = status == dump_status_ok;
}
ok = status == dump_status_ok;
}