[PATCH] windres: (10) The digits A-F are interpreted as 0-5 (Bernd Herd)
Hans-Peter Nilsson
hp@bitrange.com
Tue Mar 19 13:05:00 GMT 2002
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
More information about the Binutils
mailing list