mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
2010-03-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* 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.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2010-03-12 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* 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.
|
||||
|
||||
2007-09-18 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* Makefile.am: Rename bin2c to rtems-bin2c.
|
||||
|
||||
@@ -197,7 +197,7 @@ process(char *arg)
|
||||
if ( buffer[ length ] != '\n' )
|
||||
error(ERR_ERRNO|ERR_FATAL, "Line %d too long in %s\n", line_number, arg);
|
||||
|
||||
while ( isspace( (int) buffer[ length ] ) )
|
||||
while ( isspace( (unsigned char) buffer[ length ] ) )
|
||||
buffer[ length-- ] = '\0';
|
||||
|
||||
if ( test_only ) {
|
||||
|
||||
Reference in New Issue
Block a user