]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
GNU ar did NOT implment option -q as a synonym of -r as the manual
authorkaiw <kaiw@FreeBSD.org>
Tue, 11 Mar 2008 18:35:51 +0000 (18:35 +0000)
committerkaiw <kaiw@FreeBSD.org>
Tue, 11 Mar 2008 18:35:51 +0000 (18:35 +0000)
commitb1b47b89522b5eef12bce98c19074013babbfbc1
treec6efaf4ba4771cf319992e66458e8487862cf9fe
parent88162f4ed7be4abccacf251831e0d984954550b8
GNU ar did NOT implment option -q as a synonym of -r as the manual
page stated, thus BSD ar(1) option -q, which was implemented based on
the GNU ar manual page, turns out to be incompatible with GNU ar -q.

This change will make BSD ar(1) -q a *REAL* GNU ar -q:

1. It will update symbol table. (same as unfixed version)
2. It will NOT compare new members spcified in the command line args
   with existing members, instead, append them directly.

Reported by:   Johannes 5 Joemann <joemann@beefree.free.de>
Reported by:   Timothy Bourke <timbob@bigpond.com>
Tested by:   Johannes 5 Joemann <joemann@beefree.free.de>
Reviewed by:   jkoshy
Approved by:   jkoshy (mentor)
usr.bin/ar/ar.1
usr.bin/ar/ar.c
usr.bin/ar/ar.h
usr.bin/ar/write.c