openbsd-ports/x11/fluxbox/patches/patch-util_fbrun_FbRun_cc
robert 97859f4f1f update to 0.9.9 (developement release); 1.0.0 will be the stable one.
mainly from Francois Briere <f.briere@dopha.org>; modifications from me
ok naddy@
2004-04-28 18:10:34 +00:00

13 lines
449 B
Plaintext

$OpenBSD: patch-util_fbrun_FbRun_cc,v 1.2 2004/04/28 18:10:34 robert Exp $
--- util/fbrun/FbRun.cc.orig Sun Apr 18 14:00:22 2004
+++ util/fbrun/FbRun.cc Sun Apr 18 14:00:39 2004
@@ -110,7 +110,7 @@
// fork and execute program
if (!fork()) {
setsid();
- execl("/bin/sh", "/bin/sh", "-c", command.c_str(), 0);
+ execl("/bin/sh", "/bin/sh", "-c", command.c_str(), (void *)NULL);
exit(0); //exit child
}