FreeBSD Bugzilla – Attachment 191557 Details for
Bug 226661
lang/smlnj: Use current SIGFPE signal codes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
sigfpe.patch
file_226661.txt (text/plain), 1.40 KB, created by
John Baldwin
on 2018-03-16 18:51:49 UTC
(
hide
)
Description:
sigfpe.patch
Filename:
MIME Type:
Creator:
John Baldwin
Created:
2018-03-16 18:51:49 UTC
Size:
1.40 KB
patch
obsolete
>Index: files/do-patch-base_runtime_mach-dep_signal-sysdep.h >=================================================================== >--- files/do-patch-base_runtime_mach-dep_signal-sysdep.h (nonexistent) >+++ files/do-patch-base_runtime_mach-dep_signal-sysdep.h (working copy) >@@ -0,0 +1,13 @@ >+--- base/runtime/mach-dep/signal-sysdep.h.orig 2018-03-16 11:21:38.240870000 -0700 >++++ base/runtime/mach-dep/signal-sysdep.h 2018-03-16 11:22:06.398280000 -0700 >+@@ -447,8 +447,8 @@ extern void SetFSR(); >+ # elif defined(OPSYS_FREEBSD) >+ /** x86, FreeBSD **/ >+ # define SIG_FAULT1 SIGFPE >+-# define INT_DIVZERO(s, c) (((s) == SIGFPE) && ((c) == FPE_INTDIV_TRAP)) >+-# define INT_OVFLW(s, c) (((s) == SIGFPE) && ((c) == FPE_INTOVF_TRAP)) >++# define INT_DIVZERO(s, c) (((s) == SIGFPE) && ((c) == FPE_INTDIV)) >++# define INT_OVFLW(s, c) (((s) == SIGFPE) && ((c) == FPE_INTOVF)) >+ >+ # define SIG_GetCode(info, scp) (info) >+ # define SIG_GetPC(scp) ((scp)->sc_pc) > >Property changes on: files/do-patch-base_runtime_mach-dep_signal-sysdep.h >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 226661
: 191557