cvs commit: src/lib/libarchive archive_platform.h archive_string.h archive_string_sprintf.c

Tim Kientzle kientzle at
Sun Jan 16 14:13:54 PST 2005

kientzle    2005-01-16 22:13:52 UTC

  FreeBSD src repository

  Modified files:
    lib/libarchive       archive_platform.h archive_string.h 
  Implement a custom print formatter (archive_string_vsprintf)
  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
  Revision  Changes    Path
  1.13      +6 -0      src/lib/libarchive/archive_platform.h
  1.6       +1 -0      src/lib/libarchive/archive_string.h
  1.7       +77 -14    src/lib/libarchive/archive_string_sprintf.c
  1.3       +6 -0      src/lib/libarchive/

More information about the cvs-src mailing list