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
57e3d22a
Commit
57e3d22a
authored
Jun 12, 1996
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(main): For SIGHUP, use sigblock and sigunblock,
not sigblockx and sigunblockx.
parent
2a5af1cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/emacs.c
src/emacs.c
+2
-2
No files found.
src/emacs.c
View file @
57e3d22a
...
...
@@ -675,13 +675,13 @@ Usage: %s [-t term] [--terminal term] [-nw] [--no-windows] [--batch]\n\
#endif
)
{
sigblock
x
(
SIGHUP
);
sigblock
(
sigmask
(
SIGHUP
)
)
;
/* In --batch mode, don't catch SIGHUP if already ignored.
That makes nohup work. */
if
(
!
noninteractive
||
signal
(
SIGHUP
,
SIG_IGN
)
!=
SIG_IGN
)
signal
(
SIGHUP
,
fatal_error_signal
);
sigunblock
x
(
SIGHUP
);
sigunblock
(
sigmask
(
SIGHUP
)
)
;
}
if
(
...
...
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