cvs commit: src/lib/libarchive archive_read_support_format_tar.c

Tim Kientzle kientzle at FreeBSD.org
Sat Jul 24 10:46:45 PDT 2004


kientzle    2004-07-24 17:46:45 UTC

  FreeBSD src repository

  Modified files:
    lib/libarchive       archive_read_support_format_tar.c 
  Log:
  Fix the handling of signed values when parsing base-256 header values.
  In particular, this means we can now correctly read gtar archives that
  contain timestamps prior to the start of the Epoch.
  
  Also, make the code in this area more portable.  ANSI C99 headers are
  not yet ubiquitous (for example, FreeBSD 4 still lacks them), so be
  prepared for systems that don't have the INT64_MAX, INT64_MIN, and
  UINT64_MAX macros.  This version still requires int64_t and uint64_t be
  defined (which can be done in archive_platform.h if necessary), but
  doesn't require them to be exactly 64 bits.
  
  Revision  Changes    Path
  1.22      +68 -32    src/lib/libarchive/archive_read_support_format_tar.c


More information about the cvs-all mailing list