1118d24fd3New test verbose.at
Sergey Poznyakoff
2006-10-14 10:46:13 +00:00
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.
Sergey Poznyakoff
2006-10-14 10:45:44 +00:00
ec5743a628* tests/testsuite.at (AT_TAR_MKHIER): Use install-sh -d rather than the no-longer-included mkinstalldirs.
Paul Eggert
2006-09-08 23:29:43 +00:00
6398dbe1a5List texinfo among build prerequisites for the CVS version.
Sergey Poznyakoff
2006-09-08 16:47:01 +00:00
37724f5e20(try_purge_directory): Initialize struct st. Fix condition for selecting candidates for removal.
Sergey Poznyakoff
2006-09-08 16:45:41 +00:00
c8c351684c(intl_files_to_remove): Do not remove m4/inttypes-h.m4 and m4/inttypes-pri.m4
Sergey Poznyakoff
2006-09-08 15:17:56 +00:00
01b6fb98bf* bootstrap: Set XGETTEXT_OPTIONS to flag our printf-format functions, so that translators are warned about strings that are formats but don't look like formats. This might help prevent core dumps. * configure.ac (AM_GNU_GETTEXT): Upgrade to need-formatstring-macros. Suggested by Eric Blake to avoid problems like <http://lists.gnu.org/archive/html/bug-coreutils/2006-07/msg00087.html>. (AM_GNU_GETTEXT_VERSION): Upgrade from 0.12.1 to 0.15. The gettext manual says we should use the version number normally expected of maintainers, neither more nor less.
Paul Eggert
2006-08-11 21:39:36 +00:00
f1309bffbf* bootstrap (get_translations): Don't exclude ky.po; it is working again.
Paul Eggert
2006-08-11 07:44:21 +00:00
c732eb584e* bootstrap: Don't exclude ja.po; it is working again. Don't remove all old .po files if we're merely updating one. * po/.cvsignore: Add Makevars.
Paul Eggert
2006-08-09 18:30:16 +00:00
0680ad4d42* src/tar.c: Work around limitation imposed by gettext 0.15 by concatenating strings with "\v" after translation. (doc): Remove, splitting into: (doc0, doc1): New constants. (argp): Don't use doc; just initialize to NULL. (initialize_argp_doc): New function. (decode_options): Use it.
Paul Eggert
2006-08-08 05:28:32 +00:00
1942370acdFix typo: remove po/tar.html.
Paul Eggert
2006-08-07 22:58:12 +00:00
94de7c4c77* bootstrap: Redo po file retrieval to match Bison's method, since the translation project changed its index format. Don't use --assume-autoconf; it's now replaced by looking in configure.ac. (m4/codeset.m4, m4/intdiv.m4, m4/inttypes-pri.m4, m4/isc-posix.m4): (m4/lcmessage.m4, m4/onceonly_2_57.m4, m4/gettext.m4, m4/glibc21.m4): (m4/inttypes_h.m4, m4/lib-ld.m4, m4/lib-prefix.m4, m4/po.m4): (m4/stdint_h.m4, m4/uintmax_t.m4, m4/ulonglong.m4): Don't rename to ..._gl.m4, as this is no longer needed. (m4/geteext.m4): Patch to remove the need for intl/*. Use autopoint manually, then remove the intl files, then undo changes to gnulib files that autoreconf made, and then run aclocal/autoconf/autoheader/automake. This makes our bootstrap procedure closer to Bison's. (po/Makevars): Generate automatically. * configure.ac (AC_PREREQ): Update from 2.59 to 2.60. (gl_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T): Remove. * gnulib.modules: Add inttypes, stdint. * lib/.cvsignore: Add close-stream.c, close-stream.h, stdint.h, stdint_.h. * po/Makefile: Remove; now automatically generated.
Paul Eggert
2006-08-07 22:57:25 +00:00
05805868f2(read_incr_db_01): Check input strings more carefully. Do not pass arbitrary char values to isspace, as this has undefined behavior. Likewise for assigning arbitrary uintmax_t values to other types. (read_negative_num, read_unsigned_num, read_timespec): New functions, to check input values a bit more carefuly. (read_num): Use read_unsigned_num. New arg MAX_VAL; all callers changed. (read_incr_db_2): Use these new functions. Use a consistent diagnostic for unexpected EOF. (read_directory_file): Do not assign arbitrary uintmax_t value to int. (read_timespec, write_directory_file_entry, write_directory_file): Handle negative time_t values correctly. We don't bother to do this with pre-2 formats, since presumably the time stamps were output incorrectly.
Paul Eggert
2006-08-07 21:29:27 +00:00
57aa98047egettext 0.15 rejects this.
Paul Eggert
2006-08-07 21:12:21 +00:00
9fd9a0913dNew test case
Sergey Poznyakoff
2006-07-24 09:13:44 +00:00
f4e4adea80(to_chars_subst): Update comment regarding OLDGNU vs. GNU format differences. (mode_to_chars): Treat OLDGNU_FORMAT same as GNU_FORMAT. Fixes bug reported by TAMUKI Shoichi <tamuki@linet.gr.jp>, which caused equivalent tar cf ...' and tar rf ...' commands to produce different archives.
Sergey Poznyakoff
2006-07-24 09:13:21 +00:00
7110641821(decode_options): Do not require -L with -M -Hpax. It could be needed in future, but currently it is not.
Sergey Poznyakoff
2006-07-24 09:12:55 +00:00
fce454b5ca* bootstrap: Adjust to today's change to gnulib-tool by invoking it with --assume-autoconf='latest-stable'.
Paul Eggert
2006-07-20 16:57:31 +00:00
8ad985ea6cAdjust 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.
Paul Eggert
2006-07-17 05:47:26 +00:00
8370746251(FIXME): Do not use deprecated @quote-args. Do not use @allow-recursion. In its current form the macro is not recursive.
Sergey Poznyakoff
2006-07-05 06:46:32 +00:00
9869d0ae17(chdir_arg): Use x2nrealloc to reallocate wd. (get_max_open_files,closeopen): New functions (chdir_do): Do not use save_cwd if it was already used more than max_open_files-4 times to avoid running off the file descriptors.
Sergey Poznyakoff
2006-07-04 21:52:05 +00:00
edc0b12c5e(closeopen): New function
Sergey Poznyakoff
2006-07-04 21:51:42 +00:00
808cafa454(AC_CHECK_FUNCS): Check for getdtablesize
Sergey Poznyakoff
2006-07-04 21:51:33 +00:00
d1dedae402(update_po): Fix single translation update
Sergey Poznyakoff
2006-07-03 16:46:14 +00:00
39e5d9182c(Other Tars): New node describing how to extract GNU-specific member formats using third-party tars.
Sergey Poznyakoff
2006-06-25 12:45:03 +00:00
bf5ba3dbefA sample utility to expand sparse files extracted by third-party tars. It is not meant to be installed nor to be included in the distribution. It is here, so that it can be obtained either from CVS or from the tar web site.
Sergey Poznyakoff
2006-06-25 12:44:04 +00:00
d0201294c0(xhdr_tab.decoder): pass keyword as a second argument. All callers changed. (decode_record): Check for numeric overflow (xheader_string_end): Return boolean value. Check for possible numeric overflow
Sergey Poznyakoff
2006-06-24 16:49:33 +00:00
c5b15c4ac1(segm_count): Change type to size_t
Sergey Poznyakoff
2006-06-24 16:49:05 +00:00
4b3dd17c00(pax_dump_header_0): Return false if xheader_string_end fails (for 0.1 formats). (pax_dump_header): Return meaningful value
Sergey Poznyakoff
2006-06-24 16:48:45 +00:00
d339cc38afRemove not used variables
Sergey Poznyakoff
2006-06-24 16:48:24 +00:00
090d1d36aeImplement sparse format versioning. Implement new version (1.0) of PAX sparse format. (pax_sparse_member_p): Fix condition (pax_dump_header): A dispatcher function (pax_dump_header_0,pax_dump_header_1): New functions. (pax_optab): Update (oldgnu_dump_header): Minor fix: make sure sparse_header.isextended is set before calling set_next_block_after
Sergey Poznyakoff
2006-06-23 15:21:48 +00:00
2e1f904f2c(tar_sparse_major,tar_sparse_minor): New globals.
Sergey Poznyakoff
2006-06-23 15:20:06 +00:00
6a0b5421b9Update master menu
Sergey Poznyakoff
2006-06-23 15:19:47 +00:00
9c764b14a9(Sparse Formats): New node
Sergey Poznyakoff
2006-06-23 15:19:27 +00:00
ca7df3fe6bRaise version number to 1.15.92
Sergey Poznyakoff
2006-06-21 10:44:16 +00:00
ab19642053Implement new option, --mtime, allowing to set 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.
Sergey Poznyakoff
2006-06-21 10:40:39 +00:00
a71b154289(start_header): Override mtime if requested
Sergey Poznyakoff
2006-06-21 10:40:10 +00:00
ceaef10443(set_mtime_option,mtime_option): New globals
Sergey Poznyakoff
2006-06-21 10:39:58 +00:00