Changes in lib/misc.c [e252d8c:6b13103]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/misc.c
re252d8c r6b13103 27 27 You should have received a copy of the GNU General Public License with 28 28 the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL; 29 if not, write to the Free Software Foundation, Inc., 5 9 Temple Place,30 Suite 330, Boston, MA 02111-1307USA29 if not, write to the Free Software Foundation, Inc., 51 Franklin St., 30 Fifth Floor, Boston, MA 02110-1301 USA 31 31 */ 32 32 … … 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.