diff options
author | kaiw <kaiw@FreeBSD.org> | 2010-05-17 09:37:59 +0000 |
---|---|---|
committer | kaiw <kaiw@FreeBSD.org> | 2010-05-17 09:37:59 +0000 |
commit | e87f2d48bc38fef35b49a5ba9f33703473cee54a (patch) | |
tree | c1fbbf0def71cdcf6cf8e4112b0f5d65cb69f755 /usr.bin/ar/acpyacc.y | |
parent | bd4ac448d72b03f76644e769f11ee45445c8ead7 (diff) | |
download | FreeBSD-src-e87f2d48bc38fef35b49a5ba9f33703473cee54a.zip FreeBSD-src-e87f2d48bc38fef35b49a5ba9f33703473cee54a.tar.gz |
Removed ar(1)'s support for compressed archives. This change removes
ar(1)'s dependencies on compressor libraries -lz, -lbz2 and -llzma and
fixes building HEAD on some versions of FreeBSD[78]. Option -j and -z
is now accepted but ignored.
Compressed ar(1) archives are not useful without a ld(1) that can read
them. Also, the current ar(1) compression scheme prevents random
access of archive members and needs to be redesigned anyway.
Submitted by: kientzle (original patch)
Reviewed by: delphij
Discussed on: -current mailing list
Diffstat (limited to 'usr.bin/ar/acpyacc.y')
-rw-r--r-- | usr.bin/ar/acpyacc.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ar/acpyacc.y b/usr.bin/ar/acpyacc.y index b686c3f5..e1a6e6d 100644 --- a/usr.bin/ar/acpyacc.y +++ b/usr.bin/ar/acpyacc.y @@ -250,7 +250,7 @@ arscp_open(char *fname) if ((a = archive_read_new()) == NULL) bsdar_errc(bsdar, EX_SOFTWARE, 0, "archive_read_new failed"); - archive_read_support_compression_all(a); + archive_read_support_compression_none(a); archive_read_support_format_ar(a); AC(archive_read_open_file(a, fname, DEF_BLKSZ)); if ((r = archive_read_next_header(a, &entry))) |