output renaming in objcopy & strip

Nathan Sidwell nathan@codesourcery.com
Fri May 18 06:38:00 GMT 2007


Alan Modra wrote:
> On Thu, May 17, 2007 at 06:09:11PM +0100, Nathan Sidwell wrote:
>> 	* objcopy.c (strip_main): Detect identical input and output file
>> 	names.
>> 	(copy_main): Refactor tempname detection and use.
> 
> OK, but you missed changing one "output_file == NULL" to
> "output_file != tmpname" in strip_main.

ah, got it. thanks!

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: all.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20070518/ca2400b5/attachment.ksh>


More information about the Binutils mailing list