mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
Do not call event_del() for signals after fork(), just use sigaction()
directly instead - calling libevent functions after fork() w/o event_reinit() is a bad idea, even if in this case it was harmless.
This commit is contained in:
4
tmux.h
4
tmux.h
@ -1952,8 +1952,8 @@ void queue_window_name(struct window *);
|
||||
char *default_window_name(struct window *);
|
||||
|
||||
/* signal.c */
|
||||
void set_signals(void(*handler)(int, short, unused void *));
|
||||
void clear_signals(void);
|
||||
void set_signals(void(*)(int, short, void *));
|
||||
void clear_signals(int);
|
||||
|
||||
/* session.c */
|
||||
extern struct sessions sessions;
|
||||
|
Reference in New Issue
Block a user