cd39b5a1b7* src/xheader.c: Remove duplicate inclusion of fnmatch.h. Reported by Jim Meyering.
Sergey Poznyakoff
2008-11-30 12:33:12 +00:00
7f6e6e6a3eDo not try to drain the input pipe before closing the archive.
Sergey Poznyakoff
2008-11-25 12:33:28 +00:00
99e3a2604f* src/buffer.c (_write_volume_label): Fix typo, which prevented `-V label -M' from working.
Sergey Poznyakoff
2008-11-03 19:15:52 +00:00
b4ec8aedf9* NEWS, configure.ac: Version 1.20.91 * 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.
Sergey Poznyakoff
2008-10-30 14:13:01 +00:00
5354888e40* src/buffer.c (short_read): Remove !read_full_records condition, 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.
Sergey Poznyakoff
2008-10-22 20:55:35 +00:00
57bfbbde90* src/common.h (transform_symlinks_option): New global. * 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.
Sergey Poznyakoff
2008-10-16 11:07:19 +00:00
c9a7297a8a* configure.ac, NEWS: Version 1.20.90 * 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).
Sergey Poznyakoff
2008-06-26 10:19:19 +00:00
c2d2e806a1(dump_file0): Count links only for actually dumped files
Sergey Poznyakoff
2008-03-31 08:02:53 +00:00
2a89f7a0a8* NEWS: Document --no-check-device and --check-device. * 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.
Sergey Poznyakoff
2008-03-27 10:11:05 +00:00
71d2a66f42* src/common.h (check_device_option): New global. * 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.
Sergey Poznyakoff
2008-03-27 08:56:26 +00:00
e496c1b529* bootstrap: Use rsync to get translations. * 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.
Sergey Poznyakoff
2008-03-06 08:17:33 +00:00
5f4d99491d(check_compressed_archive): Do not bail out if the file is too short, set boolean flag, passed as an argument instead. This fixes a bug introduced on 2007-08-24. See also tests/shortupd.at.
Sergey Poznyakoff
2007-12-05 09:45:22 +00:00
48d83be336Don't read from name[-1]. * src/incremen.c (make_directory): Handle namelen == 0, since find_directory_meta calls make_directory ("").
Paul Eggert
2007-11-13 07:01:26 +00:00
8e3a2a520d(sys_exec_info_script,sys_exec_checkpoint_script): pass the current blocking factor in TAR_BLOCKING_FACTOR environment variable.
Sergey Poznyakoff
2007-10-31 12:56:46 +00:00
745832a280New actions: bell and ttyout
Sergey Poznyakoff
2007-10-31 12:56:27 +00:00