13 lines
433 B
Plaintext
13 lines
433 B
Plaintext
$OpenBSD: patch-ext_standard_exec_c,v 1.1 2004/04/17 10:33:50 avsm Exp $
|
|
--- ext/standard/exec.c.orig 2003-11-19 09:34:36.000000000 -0600
|
|
+++ ext/standard/exec.c 2004-04-14 19:40:37.000000000 -0500
|
|
@@ -942,7 +942,7 @@ PHP_FUNCTION(proc_open)
|
|
close(descriptors[i].childend);
|
|
}
|
|
|
|
- execl("/bin/sh", "sh", "-c", command, NULL);
|
|
+ execl("/bin/sh", "sh", "-c", command, (void *)NULL);
|
|
_exit(127);
|
|
|
|
} else if (child < 0) {
|