mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
Sync OpenBSD patchset 696:
Make signal handler setup/teardown two common functions instead of six, and reset SIGCHLD after fork to fix problems with some shells. From Romain Francoise.
This commit is contained in:
4
job.c
4
job.c
@ -1,4 +1,4 @@
|
||||
/* $Id: job.c,v 1.16 2010-04-06 21:59:19 nicm Exp $ */
|
||||
/* $Id: job.c,v 1.17 2010-05-14 14:30:01 tcunha Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -148,7 +148,7 @@ job_run(struct job *job)
|
||||
case -1:
|
||||
return (-1);
|
||||
case 0: /* child */
|
||||
server_signal_clear();
|
||||
clear_signals();
|
||||
|
||||
environ_push(&global_environ);
|
||||
|
||||
|
Reference in New Issue
Block a user