Changeset 88353c4 in rtems


Ignore:
Timestamp:
Mar 12, 2010, 4:26:36 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
438997f6
Parents:
bab5c5fa
Message:

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

  • sp43/init.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.
Location:
testsuites/sptests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/ChangeLog

    rbab5c5fa r88353c4  
     12010-03-12      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * sp43/init.c: Readdress use of ctype methods per recommendation from
     4        D.J. Delorie on the newlib mailing list. We should pass an unsigned
     5        char into these methods.
     6
    172010-03-10      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • testsuites/sptests/sp43/init.c

    rbab5c5fa r88353c4  
    8787    printf( "(" );
    8888    for (c=newName ; *c ; ) {
    89        if (isprint((int)*c)) printf( "%c", *c );
    90        else                  printf( "0x%02x", *c );
     89       if (isprint((unsigned char)*c)) printf( "%c", *c );
     90       else                            printf( "0x%02x", *c );
    9191       c++;
    9292       if ( *c )
Note: See TracChangeset for help on using the changeset viewer.