[PATCH] windres: (10) The digits A-F are interpreted as 0-5 (Bernd Herd)

Gunnar Degnbol degnbol@danbbs.dk
Tue Mar 19 13:40:00 GMT 2002


Hans-Peter Nilsson wrote:
> On Tue, 19 Mar 2002, Gunnar Degnbol wrote:
> 
>>2002-03-19 Bernd Herd <info@herdsoft.com>
>>
>>	* rclex.l: "\xhex" encoding in strings corrected
> 
> 
>>--- binutils/rclex.l	Sun Mar 17 14:53:32 2002
>>+++ binutils.new/rclex.l	Sun Mar 17 14:53:37 2002
>>@@ -394,9 +394,9 @@
>>  		  if (*t >= '0' && *t <= '9')
>>  		    ch = (ch << 4) | (*t - '0');
>>  		  else if (*t >= 'a' && *t <= 'f')
>>-
>>	    ch = (ch << 4) | (*t - 'a');
>>+
>>	    ch = (ch << 4) | (*t - 'a' + 10);
>>  		  else if (*t >= 'A' && *t <= 'F')
>>-
>>	    ch = (ch << 4) | (*t - 'A');
>>+
>>	    ch = (ch << 4) | (*t - 'A' + 10);
>>  		  else
>>  		    break;
>>  		  ++t;
> 
> 
> Hey, this (and others of your patches) just seem to add and
> remove empty lines!  Line-wrap?  Or is this some new confusing
> kind of patch format?  (I think there was enough confusion with
> unified and context diffs. ;-)
> 
> brgds, H-P
> 
> 


I am really sorry about this.

I use Mozilla. It is also in my outbox. Tabs behave as they should in 
the composer (it is set to plaintext), but are garbled before sending.

I think it is a bug.

Gunnar




More information about the Binutils mailing list