[U-Boot] PATCH-add "0X" hexadecimal prefix to simple_strtoul

Chris Moore
2011-02-09T06:19:48Z

Hi,

Le 08/02/2011 20:14, Wolfgang Denk a ?crit :
> Dear Rob Alexander,
>
> In message<4D51716D.3060002@motorola.com> you wrote:
>
>> + if ((tolower(*cp) == 'x')&& isxdigit(cp[1])) {
> ERROR: spaces required around that '&&' (ctx:VxW)
>

I suspect that this could be the Thunderbird problem that Albert noticed
the other day.
Some versions of TB seem to eat the space before an '&' character and
IIRC also before at least one of the '<' and '>' characters :(

I also noticed this in some of my (rare) posts.
I am using TB 3.1.5.
I am too ashamed to admit my OS ;-)

A nonsense test case written with correct spacing: a = (b > (c >> 1)) &&
((d < ((e & 1) << 1)));
If you receive this correctly then please excuse me for the noise :(

Cheers,
Chris