[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
unix bsp failure under redhat 6.0
- Date: 30 Sep 1999 16:45:58 -0400
- From: ian at zembu.com (Ian Lance Taylor)
- Subject: unix bsp failure under redhat 6.0
Date: Thu, 30 Sep 1999 15:46:45 -0400
From: Jay Kulpinski <jskulpin at eng01.gdds.com>
*** c/src/exec/score/cpu/unix/cpu.c.orig Wed Sep 29 16:27:30 1999
--- c/src/exec/score/cpu/unix/cpu.c Thu Sep 30 15:33:26 1999
***************
*** 657,662 ****
--- 657,665 ----
int status;
sigset_t old_mask;
+ #if defined(__linux__)
+ sigemptyset( &old_mask );
+ #endif
status = sigprocmask(SIG_BLOCK, &_CPU_Signal_mask, &old_mask);
if ( status )
_Internal_error_Occurred(
Calling sigemptyset will be correct on any POSIX system. POSIX
requires you to call sigemptyset or sigfillset on any sigset_t before
passing it to any POSIX function.
Ian