[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:15:45 +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 #1, bug #19281 (project avr-libc):
>From the C99 Standard, section 7.4.1.6:
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. The
standard blank characters are the following: space (' '), and horizontal tab
('\t'). In the "C" locale, isblank returns true only for the standard blank
characters.
Now section J.4:
J.4 Locale-specific behavior
1 The following characteristics of a hosted environment are locale-specific
and are required
to be documented by the implementation:
....
— The sets of characters tested for by the isalpha, isblank, islower,
ispunct ,
isspace, isupper, iswalpha, iswblank, iswlower, iswpunct ,
iswspace, or iswupper functions (7.4.1.2, 7.4.1.3, 7.4.1.7, 7.4.1.9,
7.4.1.10,
....
The avr-libc documentation says:
int isspace ( int __c )
Checks for white-space characters. For the avr-libc library, these are:
space, form-feed ('\f'), newline ('\n'), carriage return ('\r'), horizontal
tab ('\t'), and vertical tab ('\v').
Not a bug - does conform to C99 standard. Suggest moderator closes bug.
Regards,
-Colin
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?19281>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [avr-libc-dev] [bug #19281] isblank('v') return TRUE: mismatch to C99, Dmitry Xmelkov, 2007/03/11
- [avr-libc-dev] [bug #19281] isblank('v') return TRUE: mismatch to C99,
Colin O Flynn <=
- [avr-libc-dev] [bug #19281] isblank('v') return TRUE: mismatch to C99, Joerg Wunsch, 2007/03/20
- [avr-libc-dev] [bug #19281] isblank('v') return TRUE: mismatch to C99, Colin O Flynn, 2007/03/20
- [avr-libc-dev] [bug #19281] isblank('v') return TRUE: mismatch to C99, Joerg Wunsch, 2007/03/20
- [avr-libc-dev] [bug #19281] isblank('v') return TRUE: mismatch to C99, Eric Weddington, 2007/03/24
- [avr-libc-dev] [bug #19281] isblank('v') return TRUE: mismatch to C99, Colin O Flynn, 2007/03/24
- Re: [avr-libc-dev] [bug #19281] isblank('v') return TRUE: mismatch to C99, Dmitry K., 2007/03/25
- Re: [avr-libc-dev] [bug #19281] isblank('v') return TRUE: mismatch to C99, Colin O'Flynn, 2007/03/25
- [avr-libc-dev] [bug #19281] isblank('v') return TRUE: mismatch to C99, Dmitry Xmelkov, 2007/03/30