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.h | |
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.h')
-rw-r--r-- | usr.bin/ar/ar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/ar/ar.h b/usr.bin/ar/ar.h index 478b8b9..e76fba0 100644 --- a/usr.bin/ar/ar.h +++ b/usr.bin/ar/ar.h @@ -115,6 +115,7 @@ void bsdar_warnc(struct bsdar *, int _code, const char *fmt, ...); void ar_mode_d(struct bsdar *bsdar); void ar_mode_m(struct bsdar *bsdar); void ar_mode_p(struct bsdar *bsdar); +void ar_mode_q(struct bsdar *bsdar); void ar_mode_r(struct bsdar *bsdar); void ar_mode_s(struct bsdar *bsdar); void ar_mode_t(struct bsdar *bsdar); |