mirror of
https://github.com/tmux/tmux.git
synced 2025-01-13 03:48:51 +00:00
Merge branch 'obsd-master'
This commit is contained in:
commit
5122f3477f
2
proc.c
2
proc.c
@ -221,7 +221,6 @@ proc_set_signals(struct tmuxproc *tp, void (*signalcb)(int))
|
|||||||
|
|
||||||
sigaction(SIGINT, &sa, NULL);
|
sigaction(SIGINT, &sa, NULL);
|
||||||
sigaction(SIGPIPE, &sa, NULL);
|
sigaction(SIGPIPE, &sa, NULL);
|
||||||
sigaction(SIGUSR2, &sa, NULL);
|
|
||||||
sigaction(SIGTSTP, &sa, NULL);
|
sigaction(SIGTSTP, &sa, NULL);
|
||||||
|
|
||||||
signal_set(&tp->ev_sighup, SIGHUP, proc_signal_cb, tp);
|
signal_set(&tp->ev_sighup, SIGHUP, proc_signal_cb, tp);
|
||||||
@ -252,7 +251,6 @@ proc_clear_signals(struct tmuxproc *tp)
|
|||||||
|
|
||||||
sigaction(SIGINT, &sa, NULL);
|
sigaction(SIGINT, &sa, NULL);
|
||||||
sigaction(SIGPIPE, &sa, NULL);
|
sigaction(SIGPIPE, &sa, NULL);
|
||||||
sigaction(SIGUSR2, &sa, NULL);
|
|
||||||
sigaction(SIGTSTP, &sa, NULL);
|
sigaction(SIGTSTP, &sa, NULL);
|
||||||
|
|
||||||
event_del(&tp->ev_sighup);
|
event_del(&tp->ev_sighup);
|
||||||
|
Loading…
Reference in New Issue
Block a user