]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
- reverse commit r2163
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 11 Apr 2009 17:49:48 +0000 (17:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lighttpd-bug-1836.patch -> 1.1

lighttpd-bug-1836.patch [new file with mode: 0644]

diff --git a/lighttpd-bug-1836.patch b/lighttpd-bug-1836.patch
new file mode 100644 (file)
index 0000000..fc3fe1a
--- /dev/null
@@ -0,0 +1,22 @@
+Index: mod_cgi.c
+===================================================================
+--- mod_cgi.c  (revision 2162)
++++ mod_cgi.c  (revision 2163)
+@@ -987,6 +987,8 @@
+                       *c = '/';
+               }
++              openDevNull(STDERR_FILENO);
++
+               /* we don't need the client socket */
+               for (i = 3; i < 256; i++) {
+                       if (i != srv->errorlog_fd) close(i);
+@@ -995,7 +997,7 @@
+               /* exec the cgi */
+               execve(args[0], args, env.ptr);
+-              log_error_write(srv, __FILE__, __LINE__, "sss", "CGI failed:", strerror(errno), args[0]);
++              /* log_error_write(srv, __FILE__, __LINE__, "sss", "CGI failed:", strerror(errno), args[0]); */
+               /* */
+               SEGFAULT();
This page took 0.03437 seconds and 4 git commands to generate.