Ignore:
Timestamp:
03/12/10 16:26:16 (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 5, master
Children:
88353c4
Parents:
3c02c9dd
Message:

2010-03-12 Joel Sherrill <joel.sherrill@…>

  • ftpd/ftpd.c, httpd/asp.c, httpd/ejparse.c, httpd/emfdb.c, httpd/misc.c, httpd/um.c, httpd/webs.c, httpd/websuemf.c, libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_format.c, libfs/src/dosfs/msdos_misc.c, libfs/src/nfsclient/src/nfs.c, libmisc/capture/capture-cli.c, libmisc/monitor/mon-network.c, libmisc/shell/hexdump-odsyntax.c, libmisc/shell/main_ifconfig.c, libmisc/shell/shell.c, libmisc/shell/shell_makeargs.c, libmisc/uuid/parse.c, libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c, libnetworking/libc/gethostnamadr.c, libnetworking/libc/getnetnamadr.c, libnetworking/libc/inet_addr.c, libnetworking/libc/inet_network.c, libnetworking/libc/res_debug.c, libnetworking/libc/res_init.c, libnetworking/libc/res_query.c, libnetworking/rtems/rtems_mii_ioctl.c, score/src/objectgetnameasstring.c: Readdress use of ctype methods per recommendation from D.J. Delorie on the newlib mailing list. We should pass an unsigned char into these methods.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/shell/shell_makeargs.c

    r3c02c9dd rbab5c5fa  
    3535  while ( *ch ) {
    3636
    37     while ( isspace((int)*ch) ) ch++;
     37    while ( isspace((unsigned char)*ch) ) ch++;
    3838
    3939    if ( *ch == '\0' )
     
    4545    } else {
    4646      argv_p[ argc++ ] = ch;
    47       while ( ( *ch == '\0' ) && ( !isspace((int)*ch) ) ) ch++;
     47      while ( ( *ch == '\0' ) && ( !isspace((unsigned char)*ch) ) ) ch++;
    4848    }
    4949
Note: See TracChangeset for help on using the changeset viewer.