Date: Sat, 24 Jul 2004 17:46:45 +0000 (UTC) From: Tim Kientzle <kientzle@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libarchive archive_read_support_format_tar.c Message-ID: <200407241746.i6OHkjob099595@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407241746.i6OHkjob099595>