<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/lib/libarchive/archive_string_sprintf.c, branch release/9.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F9.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F9.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2009-03-06T05:14:55Z</updated>
<entry>
<title>Merge r505 from libarchive.googlecode.com: Fix %ju support.  Simplify</title>
<updated>2009-03-06T05:14:55Z</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2009-03-06T05:14:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=af176e930c843269a17564b6006026e12dd9f8c4'/>
<id>urn:sha1:af176e930c843269a17564b6006026e12dd9f8c4</id>
<content type='text'>
the code here a bit by making the int formatting functions static to
archive_string_sprintf.c, which is the only place this has ever been
used.
</content>
</entry>
<entry>
<title>Add a useful sprintf()-style wrapper around</title>
<updated>2008-03-14T22:00:09Z</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2008-03-14T22:00:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=45943bfd933a285695b7964d29dfefb36a4fef42'/>
<id>urn:sha1:45943bfd933a285695b7964d29dfefb36a4fef42</id>
<content type='text'>
archive_string_vsprintf().  (Which is built
on top of libarchive's internal resizable string
support.)
</content>
</entry>
<entry>
<title>archive_string_ensure() used to call exit(3) if it</title>
<updated>2007-07-15T19:13:59Z</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2007-07-15T19:13:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d3bb69751364bfe5fe7ad915646d5b327df9cb8b'/>
<id>urn:sha1:d3bb69751364bfe5fe7ad915646d5b327df9cb8b</id>
<content type='text'>
couldn't allocate more memory for a string.  Change
this so it returns NULL in that case, and update
all of its callers to handle the error.  Some of
those callers can now return errors back to the
client instead of calling exit(3).

Approved by: re (bmah)
</content>
</entry>
<entry>
<title>Fix the copyright notice; it was always intended to be</title>
<updated>2007-01-09T08:05:56Z</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2007-01-09T08:05:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=63165a380d254eba7618afe0e043b9a35ae9a249'/>
<id>urn:sha1:63165a380d254eba7618afe0e043b9a35ae9a249</id>
<content type='text'>
a vanilla 2-clause BSD license, but somehow some confusing
extra verbage get copied from somewhere.

Also, update the copyright dates to 2007 for all of the files.

Prompted by: several questions about what those extra words really mean
</content>
</entry>
<entry>
<title>Implement a custom print formatter (archive_string_vsprintf)</title>
<updated>2005-01-16T22:13:51Z</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2005-01-16T22:13:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c47a0d494c881078635f92b433d3e592e55ce811'/>
<id>urn:sha1:c47a0d494c881078635f92b433d3e592e55ce811</id>
<content type='text'>
for libarchive error messages.  Mostly, this
avoids a portability headache related to
copying va_list arguments (some FreeBSD 5
platforms require va_copy; FreeBSD 4 doesn't
support va_copy at all).  It also dramatically reduces the
size of libarchive for embedded applications:
a minimal "untar" program using libarchive can now be
under 64k statically linked (as opposed to ~100k
using library *printf() functions).

MFC after: 14 days
</content>
</entry>
<entry>
<title>Remove the unused archive_string_sprintf() utility function.</title>
<updated>2004-11-05T05:32:04Z</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2004-11-05T05:32:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=88507deac27c3ee1293b8a380f632edb61410bb8'/>
<id>urn:sha1:88507deac27c3ee1293b8a380f632edb61410bb8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>It is not legal to re-use a va_list variable.  This caused</title>
<updated>2004-08-26T03:33:53Z</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2004-08-26T03:33:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c85db499ac3451cc7b8273cd87a2cd83f1b5c82e'/>
<id>urn:sha1:c85db499ac3451cc7b8273cd87a2cd83f1b5c82e</id>
<content type='text'>
a crash on amd64, in particular.

Thanks to: Sean McNeil
</content>
</entry>
<entry>
<title>Eliminate reliance on non-portable &lt;err.h&gt; by implementing a very</title>
<updated>2004-08-14T03:45:45Z</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2004-08-14T03:45:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=57b665990ad3baa0b0fc0611984b502b3f8f26d5'/>
<id>urn:sha1:57b665990ad3baa0b0fc0611984b502b3f8f26d5</id>
<content type='text'>
simple errx() function.
Improve behavior when bzlib/zlib are missing by detecting and
issuing an error message on attempts to read gzip/bzip2 compressed
archives.
</content>
</entry>
<entry>
<title>More work on ACLs: fix error in archive_entry's ACL parsing code,</title>
<updated>2004-04-12T01:16:16Z</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2004-04-12T01:16:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=aee47dd7c8c398c64249c74e8ba592fd9369e26d'/>
<id>urn:sha1:aee47dd7c8c398c64249c74e8ba592fd9369e26d</id>
<content type='text'>
  try to set ACLs even if fflag restore fails, first cut at reading
  Solaris tar ACLs

Code improvement: merge gnu tar read support into main tar reader;
  this eliminates a lot of duplicate code and generalizes the tar
  reader to handle formats with GNU-like extensions.

Style: Makefile cleanup, eliminate 'dmalloc' references, remove 'tartype'
  from archive_entry (this makes archive_entry more format-agnostic)

Thanks to: David Magda for providing Solaris tar test files
</content>
</entry>
<entry>
<title>Many fixes.</title>
<updated>2004-03-09T19:50:41Z</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2004-03-09T19:50:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=df3c1316b07d107960eddb0873b86ed561163949'/>
<id>urn:sha1:df3c1316b07d107960eddb0873b86ed561163949</id>
<content type='text'>
Portability: Thanks to Juergen Lock, libarchive now compiles cleanly
on Linux.  Along the way, I cleaned up a lot of error return codes and
reorganized some code to simplify conditional compilation of certain
sections.

Bug fixes:
  * pax format now actually stores filenames that are 101-154
    characters long.
  * pax format now allows newline characters in extended attributes
    (this fixes a long-standing bug in ACL handling)
  * mtime/atime are now restored for directories
  * directory list is now sorted prior to fix-up to permit
    correct restore of non-writable dir heirarchies
</content>
</entry>
</feed>
