cvs commit: src/usr.bin/ar ar.1 ar.c ar.h write.c

Kai Wang kaiw at FreeBSD.org
Tue Mar 11 18:35:52 UTC 2008


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 <joemann at beefree.free.de>
  Reported by:      Timothy Bourke <timbob at bigpond.com>
  Tested by:        Johannes 5 Joemann <joemann at beefree.free.de>
  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


More information about the cvs-src mailing list