summaryrefslogtreecommitdiff
path: root/unixish.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-23 12:21:53 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-23 12:21:53 +0000
commit615efce3a9927f8df25cdb62183cb5cf2bc86c03 (patch)
tree93dcf42a7ed9b9714cec6695988f2b868edcf395 /unixish.h
parentf79b30955198f840af4394fc38877ab5d06cc758 (diff)
downloadperl-615efce3a9927f8df25cdb62183cb5cf2bc86c03.tar.gz
In UTS do signal(SIGFPE, SIG_IGN) in PERL_SYS_INIT().
p4raw-id: //depot/perl@10856
Diffstat (limited to 'unixish.h')
-rw-r--r--unixish.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/unixish.h b/unixish.h
index f6923b7f66..a7e9a08f74 100644
--- a/unixish.h
+++ b/unixish.h
@@ -129,7 +129,11 @@
# ifdef POSIX_BC
# define PERL_SYS_INIT(c,v) sigignore(SIGFPE); MALLOC_INIT
# else
-# define PERL_SYS_INIT(c,v) MALLOC_INIT
+# ifdef UTS
+# define PERL_SYS_INIT(c,v) signal(SIGFPE, SIG_IGN); MALLOC_INIT
+# else
+# define PERL_SYS_INIT(c,v) MALLOC_INIT
+# endif
# endif
#endif
#endif