projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24b9f1f
)
fix close_allv() sentinel
author
Robin Gareus
<robin@gareus.org>
Wed, 31 Jul 2013 17:29:06 +0000
(19:29 +0200)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 8 Aug 2013 19:26:18 +0000
(15:26 -0400)
gtk2_ardour/system_exec.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/system_exec.cc
b/gtk2_ardour/system_exec.cc
index 55dbc60bb4c2cf80c367ca1484e453692c07a2dd..59f3647e51fc703f5fa75a6bc84a65b0807b84a9 100644
(file)
--- a/
gtk2_ardour/system_exec.cc
+++ b/
gtk2_ardour/system_exec.cc
@@
-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.. */