Deleted Added
full compact
28c28
< __FBSDID("$FreeBSD: head/usr.bin/ar/write.c 183218 2008-09-20 22:10:10Z kaiw $");
---
> __FBSDID("$FreeBSD: head/usr.bin/ar/write.c 208189 2010-05-17 09:37:59Z kaiw $");
250c250
< archive_read_support_compression_all(a);
---
> archive_read_support_compression_none(a);
267,273d266
< /*
< * Remember the compression mode of existing archive.
< * If neither -j nor -z is specified, this mode will
< * be used for resulting archive.
< */
< bsdar->compression = archive_compression(a);
<
363,365d355
< /* By default, no compression is assumed. */
< bsdar->compression = ARCHIVE_COMPRESSION_NONE;
<
620a611
> archive_write_set_compression_none(a);
622,638d612
< /* The compression mode of the existing archive is used
< * for the result archive or if creating a new archive, we
< * do not compress archive by default. This default behavior can
< * be overrided by compression mode specified explicitly
< * through command line option `-j' or `-z'.
< */
< if (bsdar->options & AR_J)
< bsdar->compression = ARCHIVE_COMPRESSION_BZIP2;
< if (bsdar->options & AR_Z)
< bsdar->compression = ARCHIVE_COMPRESSION_GZIP;
< if (bsdar->compression == ARCHIVE_COMPRESSION_BZIP2)
< archive_write_set_compression_bzip2(a);
< else if (bsdar->compression == ARCHIVE_COMPRESSION_GZIP)
< archive_write_set_compression_gzip(a);
< else
< archive_write_set_compression_none(a);
<