From owner-cvs-src@FreeBSD.ORG Sat Sep 20 22:10:34 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 A52971065690; Sat, 20 Sep 2008 22:10:34 +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 92CB38FC08; Sat, 20 Sep 2008 22:10:34 +0000 (UTC) (envelope-from kaiw@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m8KMAYGv006318; Sat, 20 Sep 2008 22:10:34 GMT (envelope-from kaiw@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m8KMAYUK006317; Sat, 20 Sep 2008 22:10:34 GMT (envelope-from kaiw@repoman.freebsd.org) Message-Id: <200809202210.m8KMAYUK006317@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kaiw@repoman.freebsd.org using -f From: Kai Wang Date: Sat, 20 Sep 2008 22:10:10 +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 Makefile acplex.l acpyacc.y 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: Sat, 20 Sep 2008 22:10:34 -0000 kaiw 2008-09-20 22:10:10 UTC FreeBSD src repository Modified files: usr.bin/ar Makefile ar.c ar.h write.c Added files: usr.bin/ar acplex.l acpyacc.y Log: SVN rev 183218 on 2008-09-20 22:10:10Z by kaiw Add support for option "-M", which is used to operate ar(1) in a script mode like the MRI(Microtec Research Inc.) "librarian" program. Originally this option is provided by Binutils ar(1) to ease the transition for developers who are used to writing "librarian" scripts. We added this option to BSD ar(1) because: 1. Further improve the compatibility with Binutils ar(1). 2. There are still a few software using this -M option. (at least one in our ports collection) Suggested by: rink & erwin Revision Changes Path 1.21 +1 -1 src/usr.bin/ar/Makefile 1.1 +78 -0 src/usr.bin/ar/acplex.l (new) 1.1 +662 -0 src/usr.bin/ar/acpyacc.y (new) 1.19 +10 -2 src/usr.bin/ar/ar.c 1.4 +6 -3 src/usr.bin/ar/ar.h 1.6 +107 -41 src/usr.bin/ar/write.c