This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]