From owner-cvs-src@FreeBSD.ORG Tue Mar 11 18:35:52 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DC1610656BD; Tue, 11 Mar 2008 18:35:52 +0000 (UTC) (envelope-from kaiw@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4D43E8FC15; Tue, 11 Mar 2008 18:35:52 +0000 (UTC) (envelope-from kaiw@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m2BIZqe8007410; Tue, 11 Mar 2008 18:35:52 GMT (envelope-from kaiw@repoman.freebsd.org) Received: (from kaiw@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2BIZq7c007409; Tue, 11 Mar 2008 18:35:52 GMT (envelope-from kaiw) Message-Id: <200803111835.m2BIZq7c007409@repoman.freebsd.org> From: Kai Wang Date: Tue, 11 Mar 2008 18:35:52 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/ar ar.1 ar.c ar.h write.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Mar 2008 18:35:52 -0000 kaiw 2008-03-11 18:35:52 UTC FreeBSD src repository Modified files: usr.bin/ar ar.1 ar.c ar.h write.c Log: 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 Reported by: Timothy Bourke Tested by: Johannes 5 Joemann Reviewed by: jkoshy Approved by: jkoshy (mentor) Revision Changes Path 1.20 +2 -2 src/usr.bin/ar/ar.1 1.18 +2 -1 src/usr.bin/ar/ar.c 1.3 +1 -0 src/usr.bin/ar/ar.h 1.5 +20 -3 src/usr.bin/ar/write.c