Changeset 438997f6 in rtems


Ignore:
Timestamp:
Mar 12, 2010, 4:27:00 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
8c53580
Parents:
88353c4
Message:

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

  • eolstrip.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:
tools/build
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tools/build/ChangeLog

    r88353c4 r438997f6  
     12010-03-12      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * eolstrip.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
    172007-09-18      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • tools/build/eolstrip.c

    r88353c4 r438997f6  
    198198      error(ERR_ERRNO|ERR_FATAL, "Line %d too long in %s\n", line_number, arg);
    199199
    200     while ( isspace( (int) buffer[ length ] ) )
     200    while ( isspace( (unsigned char) buffer[ length ] ) )
    201201      buffer[ length-- ] = '\0';
    202202
Note: See TracChangeset for help on using the changeset viewer.