Changeset 3789
- Timestamp:
- Mar 22, 2012, 9:53:05 PM (13 years ago)
- Location:
- branches/libc-0.6/src/emx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/libc-0.6/src/emx/include/_ctype.h
r2537 r3789 166 166 static __inline__ unsigned __ctype(__ct_rune_t __ch, unsigned __f) 167 167 { 168 return __ch < 256 && __ch >= -128 168 return __ch < 256 && __ch >= -128 && __ch != -1 /*EOF*/ 169 169 ? __libc_GLocaleCtype.aufType[__ch & 0xff] & __f 170 170 : 0; … … 178 178 static __inline__ int __isctype(__ct_rune_t __ch, unsigned __f) 179 179 { 180 return __ch <= 255 && __ch >= -128 180 return __ch <= 255 && __ch >= -128 && __ch != -1 /*EOF*/ 181 181 ? !!(__libc_GLocaleCtypeDefault.aufType[__ch & 0xff] & __f) 182 182 : 0; -
branches/libc-0.6/src/emx/src/lib/locale/locale_ctype.c
r3019 r3789 220 220 unsigned __ctype(__ct_rune_t __ch, unsigned __f) 221 221 { 222 return __ch <= 255 && __ch >= -128 222 return __ch <= 255 && __ch >= -128 && __ch != -1 /*EOF*/ 223 223 ? __libc_GLocaleCtype.aufType[__ch & 0xff] & __f 224 224 : 0;
Note:
See TracChangeset
for help on using the changeset viewer.