CVS: sml/src/runtime/mach-dep signal-sysdep.h,1.16,1.17
John Reppy <[email protected]>
| Newsgroups | gmane.comp.lang.sml.smlnj.commits |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/smlnj/sml/src/runtime/mach-dep
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2265/mach-dep
Modified Files:
signal-sysdep.h
Log Message:
Patches for HAS_SIGCONTEXT case.
Index: signal-sysdep.h
===================================================================
RCS file: /cvsroot/smlnj/sml/src/runtime/mach-dep/signal-sysdep.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** signal-sysdep.h 25 Feb 2006 01:15:52 -0000 1.16
--- signal-sysdep.h 27 Feb 2006 17:47:32 -0000 1.17
***************
*** 18,22 ****
* SIG_SetIgnore(sig) set the handler for sig to SIG_IGN
* SIG_GetHandler(sig, h) get the current handler into h
- * SIG_Flags flags used when setting a handler
* SIG_ClearMask(mask) clear the given signal mask.
* SIG_AddToMask(mask, sig) Add the given signal to the mask.
--- 18,21 ----
***************
*** 112,117 ****
struct sigaction __svec; \
sigfillset(&(__svec.sa_mask)); \
! __svec.sa_flags = SIG_Flags; \
! __svec.sa_sighandler = (h); \
sigaction ((sig), &__svec, 0); \
}
--- 111,116 ----
struct sigaction __svec; \
sigfillset(&(__svec.sa_mask)); \
! __svec.sa_flags = 0; \
! __svec.sa_handler = (h); \
sigaction ((sig), &__svec, 0); \
}
***************
*** 325,329 ****
typedef void SigReturn_t;
- # define SIG_Flags 0
# elif (defined(TARGET_PPC) && defined(OPSYS_LINUX))
/* PPC, Linux */
--- 324,327 ----
***************
*** 343,349 ****
typedef void SigReturn_t;
- # define SIG_Flags 0
-
-
# endif /* HOST_RS6000/HOST_PPC */
--- 341,344 ----
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642