[patch]: Regression in windres

Christopher Faylor cgf-use-the-mailinglist-please@sourceware.org
Mon Feb 9 15:31:00 GMT 2009


On Mon, Feb 09, 2009 at 09:56:01AM +0000, Nick Clifton wrote:
> Hi Kai,
>
>>> Index: windres.c
>>> ===================================================================
>>> RCS file: /cvs/src/src/binutils/windres.c,v
>>> retrieving revision 1.37
>>> diff -d -u -r1.37 windres.c
>>> --- windres.c   6 Jan 2009 15:36:05 -0000       1.37
>>> +++ windres.c   6 Feb 2009 23:08:58 -0000
>>> @@ -1102,7 +1102,7 @@
>>>
>>>        if (hyp != NULL)
>>>          {
>>> -           tname = hyp + 1;
>>> +           tname = ++hyp;
>>>
>>>            /* Make sure we dectect architecture names
>>>               for triplets like "pe-arm-wince-little".  */
>>>
>>>
>> Ok, this works, too. Do you commit it, or should I do?
>
> Either of you. :-)  (ie whoever gets there first).

I'd prefer it if Kai did it since he is the person who found the problem
and can verify that this fixes it.

cgf



More information about the Binutils mailing list