Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/misc.c

    re252d8c r6b13103  
    2727  You should have received a copy of the GNU General Public License with
    2828  the Debian GNU/Linux distribution in /usr/share/common-licenses/GPL;
    29   if not, write to the Free Software Foundation, Inc., 59 Temple Place,
    30   Suite 330, Boston, MA  02111-1307  USA
     29  if not, write to the Free Software Foundation, Inc., 51 Franklin St.,
     30  Fifth Floor, Boston, MA  02110-1301  USA
    3131*/
    3232
     
    163163        while( *in )
    164164        {
    165                 if( *in == '<' && ( isalpha( *(in+1) ) || *(in+1) == '/' ) )
     165                if( *in == '<' && ( g_ascii_isalpha( *(in+1) ) || *(in+1) == '/' ) )
    166166                {
    167167                        /* If in points at a < and in+1 points at a letter or a slash, this is probably
     
    198198                {
    199199                        cs = ++in;
    200                         while( *in && isalpha( *in ) )
     200                        while( *in && g_ascii_isalpha( *in ) )
    201201                                in ++;
    202202                       
     
    314314        for( i = j = 0; t[i]; i ++, j ++ )
    315315        {
    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! */
    317317                if( ( t[i] >= 'A' && t[i] <= 'Z' ) ||
    318318                    ( t[i] >= 'a' && t[i] <= 'z' ) ||
     
    490490       
    491491        while( *value )
    492                 if( !isdigit( *value ) )
     492                if( !g_ascii_isdigit( *value ) )
    493493                        return 0;
    494494                else
Note: See TracChangeset for help on using the changeset viewer.