Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs24-19fa
git_rec_nano
Commits
ef1a3b08
Commit
ef1a3b08
authored
7 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
suspension: remove a duplicate setting of the HUP and TERM handler
This has been done already during signal_init().
parent
4063fce6
master
feature/match-parens
refactor/readbility
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/nano.c
+0
-8
src/nano.c
with
0 additions
and
8 deletions
+0
-8
src/nano.c
View file @
ef1a3b08
...
...
@@ -1243,14 +1243,6 @@ RETSIGTYPE do_suspend(int signal)
/* Restore the old terminal settings. */
tcsetattr
(
0
,
TCSANOW
,
&
oldterm
);
/* Trap SIGHUP and SIGTERM so we can properly deal with them while
* suspended. */
act
.
sa_handler
=
handle_hupterm
;
#ifdef SIGHUP
sigaction
(
SIGHUP
,
&
act
,
NULL
);
#endif
sigaction
(
SIGTERM
,
&
act
,
NULL
);
/* Do what mutt does: send ourselves a SIGSTOP. */
#ifdef SIGSTOP
kill
(
0
,
SIGSTOP
);
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help