bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PATCH: make output of 'ar -pv' posix conform


From: Tobias Burnus
Subject: PATCH: make output of 'ar -pv' posix conform
Date: Tue, 4 Nov 2003 21:16:01 +0100
User-agent: Mutt/1.3.28i

Hi,

(For all bugs needed to be posix conform, see
http://sources.redhat.com/ml/bug-binutils/2003-q4/msg00014.html)

This patch removes the word 'member ' from the output of ar making it
posix conform:

The output format of ar -pv is wrong, it is "\n<member %s>\n\n", <file>
instead of "\n<%s>\n\n", <file>

POSIX 2001 (SUSv3/IEEE Std 1003.1, 2003) [(c) The Open Group 2003]:
| STDOUT
|
| If the -p option is used with the -v option, ar shall precede
| the contents of each file with:
|
|    "\n<%s>\n\n", <file>
|
| where file is the operand specified on the command line, if file
| operands were specified, and the name of the file in the archive if
| they were not. 

Tobias

Attachment: ar.c.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]