summaryrefslogtreecommitdiffstats
path: root/usr.bin/ar/ar.c
Commit message (Collapse)AuthorAgeFilesLines
* Add support for option "-M", which is used to operate ar(1) in akaiw2008-09-201-2/+10
| | | | | | | | | | | | | | | 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
* GNU ar did NOT implment option -q as a synonym of -r as the manualkaiw2008-03-111-1/+2
| | | | | | | | | | | | | | | | | 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)
* Since the program is installed as 'bsdranlib', we need tokaiw2008-02-241-1/+2
| | | | | | | | | check if it is invoked as 'bsdranlib'. Reported by: Michael Plass <mfp49_freebsd [AT] plass-family [DOT] net> Reviewed by: Michael Plass <mfp49_freebsd [AT] plass-family [DOT] net> Reviewed by: jkoshy Approved by: jkoshy (mentor)
* Import ar(1) front-end. (aka 'BSD' ar)kaiw2008-02-211-0/+377
| | | | | | | | | | | | | | | | | | Reviewed by: jkoshy Approved by: jkoshy (mentor) Tested by: erwin (ports build test on pointyhat) Sponsored by: Google Summer of Code 2007 Reviewed by (earlier version): Jaakko Heinonen <jh[AT]saunalahti.fi> Tested by (earlier version): Steve Kargl <sgk[AT]troutmask.apl.washington.edu> Tested by (earlier version): Martin Voros <martin_voros[AT]yahoo.com> Tested by (earlier version): swell.k[AT]gmail.com Tested by (earlier version): joel Tested by (earlier version): Alexey Shuvaev <shuvaev[AT]physik.uni-wuerzburg.de> Tested by (earlier version): Arjan van Leeuwen <avleeuwen[AT]gmail.com> Thanks to gabor@ for building ports for it. Thanks to erwin@ and kris@ for scheduling the ports build test on pointyhat. And thanks to many others for their feedback.
* Finish the deorbital burn of the i386-only a.out toolchain.obrien2003-06-271-246/+0
|
* WARNS=4alfred2002-07-141-3/+1
|
* remove __Pimp2002-03-221-3/+3
|
* Style improvements recommended by Bruce as a follow up to somedwmalone2001-12-101-5/+6
| | | | | | | | of the recent WARNS commits. The idea is: 1) FreeBSD id tags should follow vendor tags. 2) Vendor tags should not be compiled (though copyrights probably should). 3) There should be no blank line between including cdefs and __FBSDIF.
* Use __FBSDID().markm2001-12-021-4/+6
|
* WARNS=2 fixup.markm2001-12-021-3/+4
|
* Replace the local `rname' with the cannonical `basename'.obrien2001-07-241-1/+2
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Eliminate compiler warnings from -Wallarchie1998-12-061-4/+4
|
* Convert man page to mdoc format. Cosmetic in usage string.charnier1997-06-231-9/+12
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* The -q option does not require a list of elements: the command 'ar q foo.a'jmz1996-10-171-2/+2
| | | | | is perfectly valid and eventually creates an empty archive. This is consistent with OSF1 V3.x, SunOS 4.x, ULTRIX 4.x and probably others.
* Add setlocale LC_TIMEache1995-10-241-0/+3
|
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+237
OpenPOWER on IntegriCloud