diff options
author | kaiw <kaiw@FreeBSD.org> | 2008-03-11 18:35:51 +0000 |
---|---|---|
committer | kaiw <kaiw@FreeBSD.org> | 2008-03-11 18:35:51 +0000 |
commit | b1b47b89522b5eef12bce98c19074013babbfbc1 (patch) | |
tree | c6efaf4ba4771cf319992e66458e8487862cf9fe /usr.bin/ar/ar.1 | |
parent | 88162f4ed7be4abccacf251831e0d984954550b8 (diff) | |
download | FreeBSD-src-b1b47b89522b5eef12bce98c19074013babbfbc1.zip FreeBSD-src-b1b47b89522b5eef12bce98c19074013babbfbc1.tar.gz |
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)
Diffstat (limited to 'usr.bin/ar/ar.1')
-rw-r--r-- | usr.bin/ar/ar.1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ar/ar.1 b/usr.bin/ar/ar.1 index ddfe6e7..cb9414e 100644 --- a/usr.bin/ar/ar.1 +++ b/usr.bin/ar/ar.1 @@ -225,9 +225,9 @@ If the archive file does not already exist, a new archive is created. However, to be compatible with GNU .Nm , +option .Fl q -is implemented as a synonym for -.Fl r . +will update the archive's symbol table. .It Fl r Replace (add) the files specified by arguments .Ar files ... |