Changeset 1065dd4 for lib/misc.c
- Timestamp:
- 2015-01-17T20:00:49Z (9 years ago)
- Branches:
- master
- Children:
- eb4ad8d
- Parents:
- bc7a0d4 (diff), 6b13103 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/misc.c
rbc7a0d4 r1065dd4 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.