Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mkcl
mkcl
Commits
0777dd08
Commit
0777dd08
authored
Feb 25, 2021
by
root
Browse files
Array sys_siglist[] never was part of the public interface. Replace it with calls to psiginfo().
parent
8936e83c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/c/unixint.d
View file @
0777dd08
...
...
@@ -586,7 +586,7 @@ void mkcl_sigfpe_handler(int sig, siginfo_t *info, void *aux)
if
(
env
==
NULL
)
maybe_lose
(
"MKCL: mkcl_sigfpe_handler called outside a lisp thread!"
);
else
if
(!
mkcl_get_option
(
MKCL_OPT_BOOTED
))
{
p
rintf
(
"For signal %d, %s\n"
,
sig
,
sys_siglist
[
sig
]
);
p
siginfo
(
info
,
"In mkcl_sigfpe_handler, Received this"
);
mkcl_lose
(
env
,
"In mkcl_sigfpe_handler. Got signal before environment was installed on our thread."
);
}
else
...
...
@@ -680,7 +680,7 @@ void mkcl_synchronous_signal_handler(int sig, siginfo_t *info, void *aux)
else
{
if
(!
mkcl_get_option
(
MKCL_OPT_BOOTED
))
{
p
rintf
(
"For signal %d, %s\n"
,
sig
,
sys_siglist
[
sig
]
);
p
siginfo
(
info
,
"In mkcl_synchronous_signal_handler, Received this"
);
mkcl_lose
(
env
,
"In mkcl_synchronous_signal_handler. "
"Got signal before environment was installed"
" on our thread."
);
...
...
@@ -734,7 +734,7 @@ void mkcl_sigsegv_handler(int sig, siginfo_t *info, void *aux)
else
{
if
(!
mkcl_get_option
(
MKCL_OPT_BOOTED
))
{
p
rintf
(
"For signal %d, %s\n"
,
sig
,
sys_siglist
[
sig
]
);
p
siginfo
(
info
,
"In mkcl_sigsegv_handler, Received this"
);
mkcl_lose
(
env
,
"In mkcl_sigsegv_handler. "
"Got signal before environment was installed"
" on our thread."
);
...
...
@@ -822,7 +822,7 @@ void mkcl_sigbus_handler(int sig, siginfo_t *info, void *aux)
else
{
if
(!
mkcl_get_option
(
MKCL_OPT_BOOTED
))
{
p
rintf
(
"For signal %d, %s\n"
,
sig
,
sys_siglist
[
sig
]
);
p
siginfo
(
info
,
"In mkcl_sigbus_handler, Received this"
);
mkcl_lose
(
env
,
"In mkcl_sigbus_handler. "
"Got signal before environment was installed"
" on our thread."
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment