* ar.c (replace_members): In verbose messages, use 'r' when
authorIan Lance Taylor <ian@airs.com>
Tue, 4 Jul 1995 20:28:29 +0000 (20:28 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 4 Jul 1995 20:28:29 +0000 (20:28 +0000)
commit52af6a44ad1f772d5bf3e714a8fef86783589ed4
tree795cf31a8a20c184cc37a34216666bae20bccfdb
parent27b1ec94784b837c366ebd3a2cfa754f07620368
* ar.c (replace_members): In verbose messages, use 'r' when
        replacing a member, and 'a' when adding one.

* ar.c (truncate): New static variable.
(normalize): Change return type to const char *.  Add abfd
argument.  Change all callers.  If truncate, chop the filename to
abfd->ar_max_namelen.
(main): For the 'f' modifier, set truncate to true.  Don't change
quick_append to replace to truncate is true.
(do_quick_append): If truncate, set BFD_TRADITIONAL_FORMAT.
(write_archive): Likewise.
* binutils.texi, ar.1: Document 'f' modifier.
PR 6888.
binutils/ChangeLog
binutils/ar.1
binutils/ar.c
binutils/binutils.texi