Solaris port updates from Chris Johns

This commit is contained in:
Joel Sherrill
1998-01-23 17:45:05 +00:00
parent 48971e5ed0
commit 2936b425fd
41 changed files with 118 additions and 83 deletions

View File

@@ -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( buffer[ length ] ) )
while ( isspace( (int) buffer[ length ] ) )
buffer[ length-- ] = '\0';
if ( test_only ) {

View File

@@ -478,7 +478,7 @@ int main(
} while ( gets( inbuff ) != NULL );
exit( EXIT_SUCCESS );
return ( EXIT_SUCCESS );
}

View File

@@ -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( buffer[ length ] ) )
while ( isspace( (int) buffer[ length ] ) )
buffer[ length-- ] = '\0';
if ( test_only ) {

View File

@@ -478,7 +478,7 @@ int main(
} while ( gets( inbuff ) != NULL );
exit( EXIT_SUCCESS );
return ( EXIT_SUCCESS );
}