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/ar.c | |
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/ar.c')
-rw-r--r-- | usr.bin/ar/ar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ar/ar.c b/usr.bin/ar/ar.c index dc4b6c4..1fe92fb 100644 --- a/usr.bin/ar/ar.c +++ b/usr.bin/ar/ar.c @@ -178,7 +178,7 @@ main(int argc, char **argv) bsdar->options |= AR_TR; break; case 'j': - bsdar->options |= AR_J; + /* ignored */ break; case 'l': /* ignored, for GNU ar comptibility */ @@ -223,7 +223,7 @@ main(int argc, char **argv) set_mode(bsdar, opt); break; case 'z': - bsdar->options |= AR_Z; + /* ignored */ break; case OPTION_HELP: bsdar_usage(); |