openbsd-ports/www/fcgi/patches/patch-libfcgi_os_unix_c
sturm 5618867eb2 Initial import of fcgi 2.4.0
FastCGI is a fast, open, and secure Web server interface that solves the
performance problems inherent in CGI without introducing any of the new
problems associated with writing applications to lower-level Web server APIs.

WWW: http://www.fastcgi.com/

from Pedro Martelletto <pbastos at rdc.puc-rio.br>
2004-02-11 20:13:35 +00:00

13 lines
469 B
Plaintext

$OpenBSD: patch-libfcgi_os_unix_c,v 1.1.1.1 2004/02/11 20:13:35 sturm Exp $
--- libfcgi/os_unix.c.orig 2004-02-11 20:40:53.000000000 +0100
+++ libfcgi/os_unix.c 2004-02-11 20:41:05.000000000 +0100
@@ -536,7 +536,7 @@ int OS_SpawnChild(char *appPath, int lis
*
* XXX: entire environment passes through
*/
- execl(appPath, appPath, NULL);
+ execl(appPath, appPath, (void *)NULL);
/*
* XXX: Can't do this as we've already closed STDERR!!!
*