avr-libc-dev
[Top][All Lists]
Advanced

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

[avr-libc-dev] [bug #19281] isblank('v') return TRUE: mismatch to C99


From: Colin O Flynn
Subject: [avr-libc-dev] [bug #19281] isblank('v') return TRUE: mismatch to C99
Date: Tue, 20 Mar 2007 15:34:55 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2) Gecko/20070220 Firefox/2.0.0.2

Follow-up Comment #3, bug #19281 (project avr-libc):

> isblank() is not the same as isspace().

Crap - i was misreading this:

"The isblank function tests for any character that is a standard blank
character or is one of a locale-specific set of characters FOR WHICH ISSPACE
IS TRUE and that is used to separate words within a line of text." (emphasis
mine)

As saying it must return those for which isspace is true, not as the set of
which isblank CAN return is limited to those isspace considers true.

Fix in docs or in source? Both are valid, the source does explicitly check
for vertical tab but that was never documented...

Regards,

 -Colin

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?19281>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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