mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 13:46:26 +08:00
Use INT_MAX instead of 0xffffffff in call to kill() for 16bit compliance.
This commit is contained in:
@@ -560,7 +560,7 @@ void *POSIX_Init(
|
||||
assert( !status );
|
||||
puts( "Init: pthread_kill - SUCCESSFUL (signal = SIG_IGN)" );
|
||||
|
||||
status = kill( 0x7fffffff, SIGUSR1 );
|
||||
status = kill( INT_MAX, SIGUSR1 );
|
||||
if ( status != -1 )
|
||||
printf( "status = %d\n", status );
|
||||
assert( errno == ESRCH );
|
||||
|
||||
Reference in New Issue
Block a user