Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e5c99298
Commit
e5c99298
authored
Dec 21, 1997
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(sys_signal): Undo previous change.
parent
bab00368
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/sysdep.c
src/sysdep.c
+2
-2
No files found.
src/sysdep.c
View file @
e5c99298
...
...
@@ -2740,7 +2740,7 @@ signal_handler_t
sys_signal
(
int
signal_number
,
signal_handler_t
action
)
{
sigemptyset
(
&
new_action
.
sa_mask
);
new_action
.
sa_handler
=
(
void
(
*
)(
int
))
action
;
new_action
.
sa_handler
=
action
;
#ifdef SA_RESTART
/* Emacs mostly works better with restartable system services. If this
* flag exists, we probably want to turn it on here.
...
...
@@ -2750,7 +2750,7 @@ sys_signal (int signal_number, signal_handler_t action)
new_action
.
sa_flags
=
0
;
#endif
sigaction
(
signal_number
,
&
new_action
,
&
old_action
);
return
(
(
void
(
*
)(
int
))
old_action
.
sa_handler
);
return
(
old_action
.
sa_handler
);
}
#ifndef __GNUC__
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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