gold patch committed: Report correct name in error message

Ian Lance Taylor iant@google.com
Wed Jul 14 10:40:00 GMT 2010


The code which handles file descriptors carefully sets the name to NULL
when it closes a descriptor.  This is fine because when any part of gold
which needs the descriptor again will pass in the name.  Unfortunately,
if we fail to reopen the file, we report the NULL name, rather than the
one which was passed in.  I committed this patch to fix the error
message.

Ian


2010-07-14  Ian Lance Taylor  <iant@google.com>

	* descriptors.cc (Descriptors::open): Report correct name in error
	message.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 596 bytes
Desc: close
URL: <https://sourceware.org/pipermail/binutils/attachments/20100714/c4878ffe/attachment.bin>


More information about the Binutils mailing list