<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/usr.bin/tar/write.c, branch release/7.0.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F7.0.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F7.0.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2008-02-24T05:45:17Z</updated>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2008-02-24T05:45:17Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2008-02-24T05:45:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a9c219fa3cec18ef9f30edec6fa106bf0e2d423d'/>
<id>urn:sha1:a9c219fa3cec18ef9f30edec6fa106bf0e2d423d</id>
<content type='text'>
'RELENG_7_0_0_RELEASE'.

This commit was manufactured to restore the state of the 7.0-RELEASE image.
</content>
</entry>
<entry>
<title>bsdtar 2.2.3:</title>
<updated>2007-05-29T05:39:10Z</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2007-05-29T05:39:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a38d1d4c8b6eb95203da19880cd5413a1ec96bde'/>
<id>urn:sha1:a38d1d4c8b6eb95203da19880cd5413a1ec96bde</id>
<content type='text'>
  * Implement --use-compress-program using new libarchive feature.
  * Minor portability improvement by adjusting casts used to
    print out uids, gids, and device numbers.

Thanks to: Joerg Sonnenberger for the --use-compress-program implementation.
MFC after: 15 days
</content>
</entry>
<entry>
<title>If lstat(2) fails, have bsdtar return a non-zero exit code if the</title>
<updated>2007-05-03T04:33:11Z</updated>
<author>
<name>Colin Percival</name>
<email>cperciva@FreeBSD.org</email>
</author>
<published>2007-05-03T04:33:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c85ac10468a3e60df6f66ffa5ef29ebd5d756c0a'/>
<id>urn:sha1:c85ac10468a3e60df6f66ffa5ef29ebd5d756c0a</id>
<content type='text'>
failed path is one which was specified on the command line.

This is a compromise between the situation prior to revision 1.57
(where a race between tar(1) and rm(1) could cause tar(1) to
spuriously report an error) and the situation after revision 1.57
(where "tar -c /no/such/path" prints a warning but returns with
an exit code of zero).

Inspired by:	rafan
MFC after:	1 week
</content>
</entry>
<entry>
<title>Clean up error handling in archive_append to match how errors are</title>
<updated>2007-04-09T08:22:34Z</updated>
<author>
<name>Colin Percival</name>
<email>cperciva@FreeBSD.org</email>
</author>
<published>2007-04-09T08:22:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=35c2dd3d05257c0ca447080cea003ba54656a598'/>
<id>urn:sha1:35c2dd3d05257c0ca447080cea003ba54656a598</id>
<content type='text'>
handled in write_hierarchy.

Approved by:	kientzle
</content>
</entry>
<entry>
<title>Split the append_archive function (used for processing @&lt;archive&gt; directives)</title>
<updated>2007-03-31T10:14:03Z</updated>
<author>
<name>Colin Percival</name>
<email>cperciva@FreeBSD.org</email>
</author>
<published>2007-03-31T10:14:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0260ab4f4e89413a2d2c23bfe58e803fcf859152'/>
<id>urn:sha1:0260ab4f4e89413a2d2c23bfe58e803fcf859152</id>
<content type='text'>
into separate append_archive and append_archive_filename functions; the first
takes a "struct archive *" as input, while the second takes a filename, opens
the archive, and calls the first.

There should be no changes in behaviour as a result of this commit; it simply
reorganizes code to make more sense.  At some point in the future it may be
possible to share code between append_archive and read_archive, but not yet.

Discussed with:	kientzle
</content>
</entry>
<entry>
<title>Remove pathlen argument from write_entry function.  It has never been used.</title>
<updated>2007-03-17T19:18:29Z</updated>
<author>
<name>Colin Percival</name>
<email>cperciva@FreeBSD.org</email>
</author>
<published>2007-03-17T19:18:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=fa21517ed82db0d7f2bf2dace325020243e9356b'/>
<id>urn:sha1:fa21517ed82db0d7f2bf2dace325020243e9356b</id>
<content type='text'>
Approved by:	kientzle
MFC after:	3 days
</content>
</entry>
<entry>
<title>Fix logic bug; we want to do_chdir if arg doesn't start with / _and_ it</title>
<updated>2007-03-17T16:17:14Z</updated>
<author>
<name>Colin Percival</name>
<email>cperciva@FreeBSD.org</email>
</author>
<published>2007-03-17T16:17:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=486641fcc5294109cc00141d18c468f5e2ad304c'/>
<id>urn:sha1:486641fcc5294109cc00141d18c468f5e2ad304c</id>
<content type='text'>
doesn't start with @/ either.

This unbreaks "tar -c -C /no/such/directory @/path/to/archive".

MFC after:	3 days
</content>
</entry>
<entry>
<title>Don't consider an lstat(2) failure to be an error (in the sense of</title>
<updated>2007-03-15T10:11:38Z</updated>
<author>
<name>Colin Percival</name>
<email>cperciva@FreeBSD.org</email>
</author>
<published>2007-03-15T10:11:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5e85b65e97df011f104e47f16be9444cb5f87f45'/>
<id>urn:sha1:5e85b65e97df011f104e47f16be9444cb5f87f45</id>
<content type='text'>
affecting the return value from bsdtar), since (a) it usually occurs
due to a perfectly innocent (and unavoidable) race condition where a
user deletes a file in the window between bsdtar reading a directory
and attempting to read the file; and (b) aside from printing a warning
message, bsdtar behaves exactly as if the file had been deleted prior
to bsdtar reading its parent directory.

Reviewed by:	kientzle
MFC after:	6 days
</content>
</entry>
<entry>
<title>Reduce the risk of inducing heart attacks, by printing the right path when</title>
<updated>2007-03-14T07:30:51Z</updated>
<author>
<name>Colin Percival</name>
<email>cperciva@FreeBSD.org</email>
</author>
<published>2007-03-14T07:30:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=4d41b13b4eee076a06d7b10b33e5936df2f1bd62'/>
<id>urn:sha1:4d41b13b4eee076a06d7b10b33e5936df2f1bd62</id>
<content type='text'>
complaining about lstat(2) failing.  It's a bit scary to find the message
  tar: /: Cannot stat: No such file or directory
printed while doing a backup.

MFC after:	1 week
</content>
</entry>
<entry>
<title>bsdtar 2.0.23:</title>
<updated>2007-03-11T10:36:42Z</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2007-03-11T10:36:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=45d4d7ac8c377ff625baa06c64d23642be8da04c'/>
<id>urn:sha1:45d4d7ac8c377ff625baa06c64d23642be8da04c</id>
<content type='text'>
   * New test scripts exercise some basic functionality
   * Most header inclusions are now protected (portability)
   * read.c now relies on security checks in libarchive instead
     of trying to do its own (optimization)
   * -p now enabled by default for root, add --no-same-permissions
     to disable it
   * Comments, minor style fixes.
</content>
</entry>
</feed>
