summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Version 1.21release_1_21originSergey Poznyakoff2008-12-272-4/+4
|
* * src/xheader.c: Remove duplicate inclusion of fnmatch.h. ReportedSergey Poznyakoff2008-11-302-2/+5
| | | | by Jim Meyering.
* Do not try to drain the input pipe before closing the archive.Sergey Poznyakoff2008-11-254-33/+25
| | | | | | | | | | | * src/buffer.c (close_archive): Remove call to sys_drain_input_pipe. Pass hit_eof as the second argument to sys_wait_for_child. * src/common.h (sys_drain_input_pipe): Remove (sys_wait_for_child): Declare second argument. * src/system.c (sys_drain_input_pipe): Remove. (sys_wait_for_child): Take two arguments. The second one helps to decide whether to tolerate child termination on SIGPIPE.
* * src/buffer.c (_write_volume_label): Fix typo, which preventedSergey Poznyakoff2008-11-032-1/+6
| | | | `-V label -M' from working.
* * NEWS, configure.ac: Version 1.20.91Sergey Poznyakoff2008-10-3011-119/+237
| | | | | | | | | | | | | | | | | | | | | | | | * doc/tar.texi: Document transformation scope flags. * src/common.h (transform_symlinks_option): Remove in favor of transformation scope flags. (XFORM_REGFILE, XFORM_LINK, XFORM_SYMLINK, XFORM_ALL): New macros. (transform_name, transform_member_name, transform_name_fp): Take an additional argument, specifying scope flags. * src/create.c: Reflect changes to transform_name. * src/extract.c (extract_link, extract_symlink): Remove calls to transform_member_name. It is done in read_header. * src/list.c (decode_xform): Reflect change in data type of 2nd argument. (transform_member_name): 2nd arg is int. (decode_header): Transform file name and link target names. * src/tar.c: Remove --transform-symlinks. * src/transform.c (struct transform): New member `flags'. (transform_flags): New variable. (parse_transform_expr): Parse transformation scope flags. Allow to set global flags using `flags=' syntax. (_transform_name_to_obstack, transform_name_fp) (transform_name): Take an additional argument, specifying scope flags.
* * src/buffer.c (short_read): Remove !read_full_records condition,Sergey Poznyakoff2008-10-227-10/+35
| | | | | | | | | | | which was always false on a first record and thus disabled record size autodetection. Thanks Ed Leaver for the patch. (_gnu_flush_read): Handle blocking_factor == 1. * tests/sparsemv.at: Reflect changes to buffer.c. * tests/sparsemvp.at: Likewise. * tests/volsize.at: Likewise. * NEWS: Update. * THANKS: Add Ed Leaver.
* * src/common.h (transform_symlinks_option): New global.Sergey Poznyakoff2008-10-1610-25/+134
| | | | | | | | | | | | | | | | * src/create.c (dump_file0): Transform symlink targets only if explicitly required. Thanks Cyril Strejc for reporting the problem. * src/tar.c (parse_opt): New options --transform-symlinks and --no-transform-symlinks. New alias --xform to the --transform option. * doc/tar.texi: Document --transform-symlinks * NEWS: Update. * THANKS: Update. * src/names.c (name_gather): Use xzalloc. * src/buffer.c (short_read): Move record size detection before the loop.
* UpdateSergey Poznyakoff2008-10-071-0/+4
|
* (options): Add --lzop option.Sergey Poznyakoff2008-10-071-0/+7
|
* Bugfix.Sergey Poznyakoff2008-10-053-2/+7
| | | | | * src/checkpoint.c (checkpoint_compile_action): Add missing `else'.
* Implement --no-null option.Sergey Poznyakoff2008-09-244-14/+79
| | | | | | * NEWS: Update. * doc/tar.texi: Update. * src/tar.c: New option --no-null.
* UpdateSergey Poznyakoff2008-09-231-0/+7
|
* ChangeLogSergey Poznyakoff2008-09-233-9/+5
|
* UpdateSergey Poznyakoff2008-09-181-0/+4
|
* Remove incorrect example.Sergey Poznyakoff2008-09-181-3/+1
|
* Bugfixes.Sergey Poznyakoff2008-09-073-4/+13
| | | | | | * src/incremen.c (dumpdir_create0): Eliminate gcc warning. (attach_directory): Bugfix - add missing return statement. * THANKS: Add Enric Hernandez
* UpdateSergey Poznyakoff2008-07-311-1/+14
|
* Fix incremental archiving of renamed directories.Sergey Poznyakoff2008-07-319-40/+276
| | | | | | | | | | | | | | | | | | | | | | * src/incremen.c (struct directory): New member `next'. Change type of `name'. (dirhead, dirtail): New statics. (make_directory): Reflect changes to struct directory. (free_directory, attach_directory): New functions. (dirlist_replace_prefix): New function. (note_directory): Use attach_directory, instead of make_directory, (find_directory, find_directory_meta): Use free_directory. (procdir): Replace directory prefixes in directory list to avoid marking subdirectories as renamed after renaming their parent directory. (append_incremental_renames): Iterate over directory list, not hash table, to preserve logical ordering of renames. * tests/rename04.at, tests/rename05.at: New test cases. * tests/Makefile.am, tests/testsuite.at: Add rename04.at and rename05.at. * tests/atlocal.in (decho): New function. * tests/multiv06.at: Use decho instead of echo2. * tests/incremental.at: Raise wait interval to 2 seconds.
* UntabifySergey Poznyakoff2008-07-241-395/+395
|
* Fix multivolume archive creation when volume length=record size.Sergey Poznyakoff2008-07-247-4/+92
| | | | | | | | | | | | * src/tar.c (decode_options): Do not allow volume length less than record size. * src/buffer.c (_gnu_flush_write): Compensate for the effect of eventual flush_archive occurring in the middle of buffer move. Increment records_written only if _flush_write was able to write something. * tests/multiv06.at: New testcase. * tests/Makefile.am, test/testsuite.at: Add tests/multiv06.at
* * configure.ac, NEWS: Version 1.20.90Sergey Poznyakoff2008-06-267-33/+138
| | | | | | | | | | | | | * doc/tar.texi: Document -J, --no-auto-compress, etc. * src/buffer.c (ct_tar): New constant. (magic): Add lzop support. Proposed by Kevin Day <thekevinday@gmail.com>. (check_compressed_archive): Do not use autodetect if the compression program was specified explicitly. Fall back to analyzing archive name, if the autodetection fails. * src/suffix.c: Add .lzo * src/tar.c: New options --lzop and --no-auto-compress. New short option -J (alias for --lzma).
* Bugfixes.Sergey Poznyakoff2008-06-2611-9/+48
| | | | | | | | | | | | | | * src/buffer.c (try_new_volume): Print more information with error diagnostics. (_gnu_flush_write): Improve error checking. Adjust real_s_sizeleft before calling new_volume to avoid creating malformed multivolume headers. * tests/delete05.at, tests/gzip.at, tests/ignfail.at, tests/longv7.at, tests/lustar01.at, tests/lustar02.at, tests/shortfile.at: Update to match new diagnostic wording (see 2008-05-06). * NEWS: Update.
* UpdateSergey Poznyakoff2008-06-141-0/+12
|
* Remove a TZ dependency.Remove a TZ dependency.Sergey Poznyakoff2008-06-141-3/+3
|
* Fix typos.Sergey Poznyakoff2008-06-141-3/+3
|
* UpdateSergey Poznyakoff2008-06-142-2/+3
|
* (exclude): Document support for new VCS.Sergey Poznyakoff2008-06-141-1/+14
|
* (exclude_vcs_files): Support for Bazaar, Mercurial and Darcs.Sergey Poznyakoff2008-06-141-0/+10
|
* UpdateSergey Poznyakoff2008-05-051-0/+5
|
* (main): Reword the "delayed error" message. New wording proposed by Karl Berry.Sergey Poznyakoff2008-05-051-1/+1
|
* UpdateSergey Poznyakoff2008-05-051-0/+18
|
* Version 1.20.release_1_20Sergey Poznyakoff2008-05-059-92/+194
| | | | | | | | | | | | | | | | | | * configure.ac: Raise version number to 1.20 * src/compare.c (diff_dumpdir): const. * src/common.h (dumpdir_t,dumpdir_iter_t): New data types. (dumpdir_create0,dumpdir_create,dumpdir_free,dumpdir_locate) (dumpdir_first,dumpdir_next): New functions. * src/incremen.c (dumpdir_create0,dumpdir_create,dumpdir_free) (dumpdir_first,dumpdir_next): New functions. (dumpdir_locate): Rewrite using binary search. (struct directory): Change members char *contents, *icontents to struct dumpdir *dump, *idump. All references updated. (note_directory): Last arg is const. * src/names.c (add_hierarchy_to_namelist): buffer is const. * tests/incr03.at, tests/incr04.at, tests/rename02.at, tests/rename03.at: Insert calls to sleep between creation of files and adding them to the archive.
* UpdateSergey Poznyakoff2008-03-311-0/+5
|
* (dump_file0): Count links only for actually dumped filesSergey Poznyakoff2008-03-311-2/+1
|
* * NEWS: Document --no-check-device and --check-device.Sergey Poznyakoff2008-03-277-39/+166
| | | | | | | | | | * doc/rendition.texi: Change the way FIXME-*refs are handled in !PROOF. * doc/intern.texi, doc/tar.texi: Update. * doc/untabify.el: New file. * doc/Makefile.am (EXTRA_DIST): Add untabify.el (untabify, final, check-format, check-refs, check-fixmes) (check-unrevised, all-check-docs, check-docs): New rules.
* * src/common.h (check_device_option): New global.Sergey Poznyakoff2008-03-275-1/+36
| | | | | | | | | | * src/incremen.c (procdir): Use boolean and instead of bitwise one. Patch by Jean-Louis Martineau. Compare device numbers only if check_device_option is set. * src/tar.c: New command line options --no-check-device and --check-device. Proposed by Jean-Louis Martineau. (parse_opt): Hanlde new options. (decode_options): Initialize check_device_option to true.
* * bootstrap: Use rsync to get translations.Sergey Poznyakoff2008-03-067-68/+64
| | | | | | | | | * doc/tar.texi: Minor change. * lib/.cvsignore: Update * po/.cvsignore: Update * src/system.c: Remove include setenv.h. * tests/atlocal.in (STAR_DATA_URL): Update. * tests/star/README: Update URL.
* UpdateSergey Poznyakoff2008-02-091-0/+4
|
* Fix a typoSergey Poznyakoff2008-02-091-1/+1
|
* * NEWS: Update.Sergey Poznyakoff2008-02-087-9/+44
| | | | | | | | * configure.ac: Version 1.19.90 * po/POTFILES.in: Add missing files. * src/compare.c (verify_volume): Honor --ignore-zeros. Proposed by Jan-Benedict Glaw. * tests/shortfile.at (AT_KEYWORDS): Add shortfile0.
* Update the descriptionSergey Poznyakoff2008-02-081-0/+6
|
* (dump_file0): Apply transform_name to symlink targets.Sergey Poznyakoff2008-02-071-1/+2
|
* UpdateSergey Poznyakoff2008-02-072-1/+11
|
* UpdateSergey Poznyakoff2008-02-041-1/+1
|
* UpdateSergey Poznyakoff2008-02-041-1/+8
|
* Document changes to the --transform option.Sergey Poznyakoff2008-02-042-3/+26
|
* Support multiple --transform options. Support semicolon-separated lists of ↵Sergey Poznyakoff2008-02-041-80/+120
| | | | replace expressions.
* * doc/tar.texi: Update Back-Cover text to reflect new GNU wording.Paul Eggert2008-01-313-15/+25
| | | | | | | | 2007-12-17 Paul Eggert <eggert@cs.ucla.edu> Exit with nonzero status if a close fails on an archive. Problem (and initial trivial fix) * src/buffer.c (close_archive, new_volume): close_error, not close_warn.
* UpdateSergey Poznyakoff2007-12-052-1/+15
|
* Add shortupd.at.Sergey Poznyakoff2007-12-053-0/+35
|