bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new module c-strstr


From: Ben Pfaff
Subject: Re: new module c-strstr
Date: Fri, 18 Aug 2006 12:28:47 -0700
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

Bruno Haible <address@hidden> writes:

> The "nearly an ASCII extension" assumption is so ubiquitous, think of
> (c >= '0') tests and similar. You really find it's worth mentioning?

Digits are a very special case, because the C standard (C89
onward) guarantees that they are in order and contiguous:

    In both the source and execution basic character sets, the
    value of each character after 0 in the above list of decimal
    digits shall be one greater than the value of the previous.
-- 
"Then, I came to my senses, and slunk away, hoping no one overheard my
 thinking."
--Steve McAndrewSmith in the Monastery





reply via email to

[Prev in Thread] Current Thread [Next in Thread]