/[gcl]/gcl/o/usig.c
ViewVC logotype

Diff of /gcl/o/usig.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by camm, Tue Jun 29 15:19:04 2004 UTC revision 1.16 by camm, Fri Jun 10 15:30:42 2005 UTC
# Line 61  gcl_signal(int signo, handler_function_t Line 61  gcl_signal(int signo, handler_function_t
61      struct sigaction action;      struct sigaction action;
62      action.sa_handler = handler;      action.sa_handler = handler;
63  /*    action.sa_flags =  SA_RESTART | ((signo == SIGSEGV || signo == SIGBUS) ? SV_ONSTACK : 0) */  /*    action.sa_flags =  SA_RESTART | ((signo == SIGSEGV || signo == SIGBUS) ? SV_ONSTACK : 0) */
64     action.sa_flags = SA_RESTART | ((signo == SIGSEGV || signo == SIGBUS) ? SV_ONSTACK : 0)       action.sa_flags = SA_RESTART | ((signo == SIGSEGV || signo == SIGBUS) ? SA_ONSTACK : 0)  
65  #ifdef SA_SIGINFO  #ifdef SA_SIGINFO
66      | SA_SIGINFO      | SA_SIGINFO
67  #endif        #endif      
68        ;        ;
69      sigemptyset(&action.sa_mask);      sigemptyset(&action.sa_mask);
70      sigaddset(&action.sa_mask,signo);  /*     sigaddset(&action.sa_mask,signo); */
71      sigaction(signo,&action,0);      sigaction(signo,&action,0);
72  #else  #else
73  #ifdef HAVE_SIGVEC  #ifdef HAVE_SIGVEC

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26