mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
fix close_allv() sentinel
This commit is contained in:
parent
24b9f1ff8a
commit
9aa348afce
1 changed files with 1 additions and 3 deletions
|
|
@ -724,10 +724,8 @@ SystemExec::start (int stderr_mode)
|
|||
signal(SIGPIPE, SIG_DFL);
|
||||
#endif
|
||||
|
||||
#ifndef __WIN32__
|
||||
int good_fds[1] = { 0 };
|
||||
int good_fds[1] = { -1 };
|
||||
close_allv(good_fds);
|
||||
#endif
|
||||
|
||||
::execve(argp[0], argp, envp);
|
||||
/* if we reach here something went wrong.. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue