]> git.cworth.org Git - tar/log
tar
14 years agomaybe_backup_file: Clear previously-set after_backup_name 508199
Carl Worth [Tue, 4 Aug 2009 20:34:52 +0000 (13:34 -0700)]
maybe_backup_file: Clear previously-set after_backup_name

Without this, under various conditions, (including file_name being
a directory), maybe_backup_file would return true without having
done anything, nor having set after_backup_name. Then, if any
error was detected while extracting the member, (such as directory
already exists), the previously backed-up file would be restored,
potentially destroying user data.

This closes Debian bug #508199, with thanks to Eric Lammerts for
reporting it with a concise test case.

14 years agoprepare to upload
Bdale Garbee [Tue, 4 Aug 2009 19:43:24 +0000 (13:43 -0600)]
prepare to upload

14 years agoMerge commit 'cworth/master' into dfsg-debian
Bdale Garbee [Tue, 4 Aug 2009 19:33:11 +0000 (13:33 -0600)]
Merge commit 'cworth/master' into dfsg-debian

14 years agodebian/changelog: Fix missing colons on 'closes' clauses
Carl Worth [Tue, 4 Aug 2009 19:22:35 +0000 (12:22 -0700)]
debian/changelog: Fix missing colons on 'closes' clauses

Thanks to lintian for keeping my syntax clean and functional.

14 years agoDrop undefined B macro from tar man page, (fixes lintian warning)
Carl Worth [Tue, 4 Aug 2009 19:20:05 +0000 (12:20 -0700)]
Drop undefined B macro from tar man page, (fixes lintian warning)

This undefined macro was causing misformatting of the first line
of the man page:

   The first argument to should be...

rather than:

   The first argument to tar should be...

Presumably just dropping it misses out on some intending formatting,
(emboldening of the word tar perhaps?), but this is at least better
than the word being missing.

14 years agoRespect DEB_BUILD_OPTIONS=nocheck to conform with Debian Policy 3.8.2
Carl Worth [Tue, 4 Aug 2009 19:07:44 +0000 (12:07 -0700)]
Respect DEB_BUILD_OPTIONS=nocheck to conform with Debian Policy 3.8.2

This was the only change necessary to bring conformance up from 3.8.0,
and now lintian should be happier.

14 years agouse a maintainer version number
Bdale Garbee [Tue, 4 Aug 2009 18:25:18 +0000 (12:25 -0600)]
use a maintainer version number

14 years agoMerge commit 'cworth/master' into dfsg-debian
Bdale Garbee [Tue, 4 Aug 2009 18:15:20 +0000 (12:15 -0600)]
Merge commit 'cworth/master' into dfsg-debian

Conflicts:
debian/changelog
debian/control

14 years agodebian/changelog: Restore changelog entry for bug #18663
Carl Worth [Tue, 4 Aug 2009 18:09:58 +0000 (11:09 -0700)]
debian/changelog: Restore changelog entry for bug #18663

This was inadvertently lost after reverting my change and applying
upstream's instead.

14 years agoFix hard links recognition with -c --remove-files
Sergey Poznyakoff [Thu, 30 Jul 2009 20:48:04 +0000 (23:48 +0300)]
Fix hard links recognition with -c --remove-files

* src/create.c (dump_hard_link): Always look up in the link table
if remove_files_option is set. Patch suggested by Theodore Ts'o
<tytso@mit.edu>.
(check_links): Remove extra newline from the warning message.
* tests/link02.at, tests/link03.at: New testcases.
* tests/Makefile.am (TESTSUITE_AT): Add link02.at and link03.at
* tests/testsuite.at: Include link02.at and link03.at

14 years agoRevert "Preserve hard links with --remove-files"
Carl Worth [Tue, 4 Aug 2009 17:29:49 +0000 (10:29 -0700)]
Revert "Preserve hard links with --remove-files"

This reverts commit f1ed85d46043c523cd5b8196c1d266f3606a2531.

The idea behind these patches was just fine, but upstream just
accepted a slightly modified version, so I'm reverting mine in
favor of that from upstream.

14 years agoRevert "Add hardlinks test (to ensure they are preserved with --remove-files)"
Carl Worth [Tue, 4 Aug 2009 17:29:38 +0000 (10:29 -0700)]
Revert "Add hardlinks test (to ensure they are preserved with --remove-files)"

This reverts commit a75570c728ed2c3f65fb075491a07a9b4ade407f.

14 years agoadd Carl Worth as an authorized uploader for tar
Bdale Garbee [Tue, 4 Aug 2009 14:29:57 +0000 (09:29 -0500)]
add Carl Worth as an authorized uploader for tar

14 years agoAdd hardlinks test (to ensure they are preserved with --remove-files)
Carl Worth [Thu, 30 Jul 2009 04:26:23 +0000 (21:26 -0700)]
Add hardlinks test (to ensure they are preserved with --remove-files)

The new hardlinks.at test case verifies the fix in the previous
commit, (without that change the test fails, and with the change
the test passes).

14 years agoPreserve hard links with --remove-files
Carl Worth [Thu, 30 Jul 2009 03:45:58 +0000 (20:45 -0700)]
Preserve hard links with --remove-files

When the --remove-files option is in effect, it is no longer
reliable to use a file's link count to determine if we should
use the hash table for hard links. Instead, we look into the
hash table for every file when under the influence of the
--remove-files option.

14 years agoDon't close file stream before EOF, closes #525818
Carl Worth [Wed, 29 Jul 2009 23:10:01 +0000 (16:10 -0700)]
Don't close file stream before EOF, closes #525818

To fix bug #235820 src/list.c was modified to avoid printing
a confusing warning message about a lone zero block. However,
the change also caused the input stream to be closed before
reading EOF which could cause a SIGPIPE to be sent to the
writing process.

In this change, the previous fix is made more narrow to exclude
only the printing of the warning message, but without the side
effect that was causing the SIGPIPE.

14 years agoFix to allow parallel build (-j2), closes #535319
Carl Worth [Wed, 29 Jul 2009 21:21:50 +0000 (14:21 -0700)]
Fix to allow parallel build (-j2), closes #535319

We have to strictly serialize building after configuring, (by
making build-stamp depend on configure-stamp).

14 years agoRemove config.sub, config.guess, and testsuite files.
Carl Worth [Wed, 29 Jul 2009 20:42:35 +0000 (13:42 -0700)]
Remove config.sub, config.guess, and testsuite files.

These are automatically created as part of the build process so
should not be tracked as part of revision control.

14 years agoAdd .gitignore files for generated files.
Carl Worth [Wed, 29 Jul 2009 19:59:58 +0000 (12:59 -0700)]
Add .gitignore files for generated files.

There's the usual .o files, libraries, binaries, and build-system
stuff here, but also some generated .h files.

14 years agoAdd Carl Worth as an uploader.
Carl Worth [Wed, 29 Jul 2009 19:33:26 +0000 (12:33 -0700)]
Add Carl Worth as an uploader.

14 years agoincorporate changelog entry from NMU
Bdale Garbee [Wed, 1 Jul 2009 18:48:17 +0000 (15:48 -0300)]
incorporate changelog entry from NMU

14 years agoMerge branch 'dfsg-orig' into dfsg-debian
Bdale Garbee [Wed, 1 Jul 2009 18:46:59 +0000 (15:46 -0300)]
Merge branch 'dfsg-orig' into dfsg-debian

14 years agoMerge branch 'upstream' into dfsg-orig
Bdale Garbee [Wed, 1 Jul 2009 18:46:39 +0000 (15:46 -0300)]
Merge branch 'upstream' into dfsg-orig

14 years agopatch from upstream to restore SIGPIPE default action
Bdale Garbee [Wed, 1 Jul 2009 18:45:35 +0000 (15:45 -0300)]
patch from upstream to restore SIGPIPE default action

14 years agoremaining changes missed in reconstruction
Bdale Garbee [Thu, 18 Jun 2009 21:02:02 +0000 (15:02 -0600)]
remaining changes missed in reconstruction

14 years agooops, forgot to merge this back in during repo reconstruction
Bdale Garbee [Thu, 18 Jun 2009 21:00:56 +0000 (15:00 -0600)]
oops, forgot to merge this back in during repo reconstruction

14 years agomerge
Bdale Garbee [Thu, 18 Jun 2009 20:38:14 +0000 (14:38 -0600)]
merge

14 years agoMerge branch 'dfsg-orig' into dfsg-debian
Bdale Garbee [Thu, 18 Jun 2009 20:36:56 +0000 (14:36 -0600)]
Merge branch 'dfsg-orig' into dfsg-debian

14 years agoMerge branch 'upstream' into dfsg-orig
Bdale Garbee [Thu, 18 Jun 2009 20:36:43 +0000 (14:36 -0600)]
Merge branch 'upstream' into dfsg-orig

Conflicts:
doc/Makefile.in
doc/getdate.texi
doc/stamp-vti
doc/tar.info
doc/tar.info-1
doc/tar.info-2
doc/tar.texi
doc/version.texi

14 years agoImported Upstream version 1.22
Bdale Garbee [Thu, 18 Jun 2009 20:35:31 +0000 (14:35 -0600)]
Imported Upstream version 1.22

15 years agofix merge errors, update man page to include new and changed commands
Bdale Garbee [Wed, 25 Feb 2009 06:55:48 +0000 (23:55 -0700)]
fix merge errors, update man page to include new and changed commands

15 years agoupdate changelog
Bdale Garbee [Wed, 25 Feb 2009 06:16:30 +0000 (23:16 -0700)]
update changelog

15 years agoMerge branch 'dfsg-orig' into dfsg-debian
Bdale Garbee [Wed, 25 Feb 2009 06:14:55 +0000 (23:14 -0700)]
Merge branch 'dfsg-orig' into dfsg-debian

Conflicts:
cleanup-script.sh
tests/incremental.at

15 years agoMerge branch 'upstream' into dfsg-orig, improve cleanup-script.sh
Bdale Garbee [Wed, 25 Feb 2009 06:12:02 +0000 (23:12 -0700)]
Merge branch 'upstream' into dfsg-orig, improve cleanup-script.sh

Conflicts:
doc/Makefile.in
doc/getdate.texi
doc/stamp-vti
doc/tar.info
doc/tar.info-1
doc/tar.info-2
doc/tar.texi
doc/version.texi

15 years agoImported Upstream version 1.21
Bdale Garbee [Wed, 25 Feb 2009 06:05:42 +0000 (23:05 -0700)]
Imported Upstream version 1.21

15 years agoupdate to current standards version
Bdale Garbee [Wed, 25 Feb 2009 05:37:17 +0000 (22:37 -0700)]
update to current standards version

15 years agoduplicate changes from updating cleanup script in dfsg-orig branch
Bdale Garbee [Wed, 25 Feb 2009 05:27:41 +0000 (22:27 -0700)]
duplicate changes from updating cleanup script in dfsg-orig branch

15 years agoimprove cleanup script... we need the Makefile fragments in doc/
Bdale Garbee [Wed, 25 Feb 2009 05:26:45 +0000 (22:26 -0700)]
improve cleanup script... we need the Makefile fragments in doc/

15 years agoimprove the cleanup script to actually have a chance of working
Bdale Garbee [Wed, 25 Feb 2009 05:25:41 +0000 (22:25 -0700)]
improve the cleanup script to actually have a chance of working

15 years agochange the way config.{sub,guess} are updated to work better with git
Bdale Garbee [Wed, 25 Feb 2009 05:16:36 +0000 (22:16 -0700)]
change the way config.{sub,guess} are updated to work better with git

15 years agooops, didn't really want cruft file there!
Bdale Garbee [Wed, 25 Feb 2009 05:13:15 +0000 (22:13 -0700)]
oops, didn't really want cruft file there!

15 years agocreate config file for git-buildpackage
Bdale Garbee [Wed, 25 Feb 2009 05:09:06 +0000 (22:09 -0700)]
create config file for git-buildpackage

15 years agofold in previous work on tar 1.20
Bdale Garbee [Wed, 25 Feb 2009 05:05:37 +0000 (22:05 -0700)]
fold in previous work on tar 1.20

15 years agostrip docs under GFDL which are not DFSG-compliant
Bdale Garbee [Wed, 25 Feb 2009 04:57:41 +0000 (21:57 -0700)]
strip docs under GFDL which are not DFSG-compliant

15 years agoImported Upstream version 1.20
Bdale Garbee [Wed, 25 Feb 2009 04:50:59 +0000 (21:50 -0700)]
Imported Upstream version 1.20