Date: Fri, 10 Nov 2006 06:39:47 +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_check_magic.c archive_entry.c archive_platform.h archive_read.c archive_read_data_into_buffer.c archive_read_data_into_fd.c archive_read_extract.c archive_read_open_fd.c archive_read_open_file.c archive_read_support_compression_bzip2.c archive_read_support_compression_compress.c ... Message-ID: <200611100639.kAA6dlu7044382@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kientzle 2006-11-10 06:39:47 UTC FreeBSD src repository Modified files: lib/libarchive archive_check_magic.c archive_entry.c archive_platform.h archive_read.c archive_read_data_into_buffer.c archive_read_data_into_fd.c archive_read_extract.c archive_read_open_fd.c archive_read_open_file.c archive_read_support_compression_bzip2.c archive_read_support_compression_compress.c archive_read_support_compression_gzip.c archive_read_support_compression_none.c archive_read_support_format_cpio.c archive_read_support_format_iso9660.c archive_read_support_format_tar.c archive_read_support_format_zip.c archive_string.c archive_string.h archive_util.c archive_write.c archive_write_open_fd.c archive_write_open_file.c archive_write_set_compression_bzip2.c archive_write_set_compression_gzip.c archive_write_set_compression_none.c archive_write_set_format.c archive_write_set_format_by_name.c archive_write_set_format_cpio.c archive_write_set_format_pax.c archive_write_set_format_shar.c archive_write_set_format_ustar.c Log: Portability and style fixes: * Actually use the HAVE_<header>_H macros to conditionally include system headers. They've been defined for a long time, but only used in a few places. Now they're used pretty consistently throughout. * Fill in a lot of missing casts for conversions from void*. Although Standard C doesn't require this, some people have been trying to use C++ compilers with this code, and they do require it. Bit-for-bit, the compiled object files are identical, except for one assert() whose line number changed, so I'm pretty confident I didn't break anything. ;-) Revision Changes Path 1.6 +9 -0 src/lib/libarchive/archive_check_magic.c 1.36 +26 -16 src/lib/libarchive/archive_entry.c 1.21 +16 -6 src/lib/libarchive/archive_platform.h 1.23 +11 -3 src/lib/libarchive/archive_read.c 1.5 +3 -1 src/lib/libarchive/archive_read_data_into_buffer.c 1.11 +6 -0 src/lib/libarchive/archive_read_data_into_fd.c 1.49 +26 -4 src/lib/libarchive/archive_read_extract.c 1.7 +16 -6 src/lib/libarchive/archive_read_open_fd.c 1.12 +18 -6 src/lib/libarchive/archive_read_open_file.c 1.10 +15 -7 src/lib/libarchive/archive_read_support_compression_bzip2.c 1.6 +16 -8 src/lib/libarchive/archive_read_support_compression_compress.c 1.11 +15 -7 src/lib/libarchive/archive_read_support_compression_gzip.c 1.10 +14 -6 src/lib/libarchive/archive_read_support_compression_none.c 1.19 +24 -14 src/lib/libarchive/archive_read_support_format_cpio.c 1.14 +20 -10 src/lib/libarchive/archive_read_support_format_iso9660.c 1.44 +39 -25 src/lib/libarchive/archive_read_support_format_tar.c 1.9 +21 -17 src/lib/libarchive/archive_read_support_format_zip.c 1.7 +5 -1 src/lib/libarchive/archive_string.c 1.7 +2 -0 src/lib/libarchive/archive_string.h 1.11 +6 -0 src/lib/libarchive/archive_util.c 1.20 +12 -2 src/lib/libarchive/archive_write.c 1.5 +14 -4 src/lib/libarchive/archive_write_open_fd.c 1.12 +17 -5 src/lib/libarchive/archive_write_open_file.c 1.9 +13 -5 src/lib/libarchive/archive_write_set_compression_bzip2.c 1.11 +13 -5 src/lib/libarchive/archive_write_set_compression_gzip.c 1.9 +10 -4 src/lib/libarchive/archive_write_set_compression_none.c 1.3 +5 -0 src/lib/libarchive/archive_write_set_format.c 1.4 +6 -0 src/lib/libarchive/archive_write_set_format_by_name.c 1.7 +15 -7 src/lib/libarchive/archive_write_set_format_cpio.c 1.35 +24 -10 src/lib/libarchive/archive_write_set_format_pax.c 1.12 +18 -10 src/lib/libarchive/archive_write_set_format_shar.c 1.15 +24 -14 src/lib/libarchive/archive_write_set_format_ustar.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611100639.kAA6dlu7044382>