comparison src/sysdep.c @ 3292:6209d0e98e35

(sys_signal): Use 0, not NULL, to set sa_flags.
author Richard M. Stallman <rms@gnu.org>
date Sun, 30 May 1993 04:46:39 +0000
parents 760a82a8767e
children aaf396661221
comparison
equal deleted inserted replaced
3291:b64e3832b6de 3292:6209d0e98e35
2111 The "else" code will works as well. */ 2111 The "else" code will works as well. */
2112 return (berk_signal (signal_number, action)); 2112 return (berk_signal (signal_number, action));
2113 #else 2113 #else
2114 sigemptyset (&new_action.sa_mask); 2114 sigemptyset (&new_action.sa_mask);
2115 new_action.sa_handler = action; 2115 new_action.sa_handler = action;
2116 new_action.sa_flags = NULL; 2116 new_action.sa_flags = 0;
2117 sigaction (signal_number, &new_action, &old_action); 2117 sigaction (signal_number, &new_action, &old_action);
2118 return (old_action.sa_handler); 2118 return (old_action.sa_handler);
2119 #endif /* DGUX */ 2119 #endif /* DGUX */
2120 } 2120 }
2121 2121