Changeset 6b13103 for lib/misc.c
- Timestamp:
- 2015-01-16T19:50:23Z (9 years ago)
- Branches:
- master
- Children:
- 1065dd4, eabe6d4
- Parents:
- 6f10697
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/misc.c
r6f10697 r6b13103 163 163 while( *in ) 164 164 { 165 if( *in == '<' && ( isalpha( *(in+1) ) || *(in+1) == '/' ) )165 if( *in == '<' && ( g_ascii_isalpha( *(in+1) ) || *(in+1) == '/' ) ) 166 166 { 167 167 /* If in points at a < and in+1 points at a letter or a slash, this is probably … … 198 198 { 199 199 cs = ++in; 200 while( *in && isalpha( *in ) )200 while( *in && g_ascii_isalpha( *in ) ) 201 201 in ++; 202 202 … … 314 314 for( i = j = 0; t[i]; i ++, j ++ ) 315 315 { 316 /* Warning: isalnum() is locale-aware, so don't use it here! */316 /* Warning: g_ascii_isalnum() is locale-aware, so don't use it here! */ 317 317 if( ( t[i] >= 'A' && t[i] <= 'Z' ) || 318 318 ( t[i] >= 'a' && t[i] <= 'z' ) || … … 490 490 491 491 while( *value ) 492 if( ! isdigit( *value ) )492 if( !g_ascii_isdigit( *value ) ) 493 493 return 0; 494 494 else
Note: See TracChangeset
for help on using the changeset viewer.