FreeBSD Bugzilla – Attachment 51187 Details for
Bug 77811
Update port: www/lighttpd to 1.3.11
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
lighttpd-update-1.3.11.patch
lighttpd-update-1.3.11.patch (text/plain), 2.55 KB, created by
Rui Lopes
on 2005-02-20 23:00:37 UTC
(
hide
)
Description:
lighttpd-update-1.3.11.patch
Filename:
MIME Type:
Creator:
Rui Lopes
Created:
2005-02-20 23:00:37 UTC
Size:
2.55 KB
patch
obsolete
>diff -ruN lighttpd.orig/Makefile lighttpd/Makefile >--- lighttpd.orig/Makefile Sun Feb 20 22:26:06 2005 >+++ lighttpd/Makefile Sun Feb 20 22:26:30 2005 >@@ -6,8 +6,7 @@ > # > > PORTNAME= lighttpd >-PORTVERSION= 1.3.10 >-PORTREVISION= 1 >+PORTVERSION= 1.3.11 > CATEGORIES= www > MASTER_SITES= http://www.lighttpd.net/download/ \ > http://dl.fkb.wormulon.net/lighttpd/ \ >diff -ruN lighttpd.orig/distinfo lighttpd/distinfo >--- lighttpd.orig/distinfo Sun Feb 20 22:26:06 2005 >+++ lighttpd/distinfo Sun Feb 20 22:27:49 2005 >@@ -1,2 +1,2 @@ >-MD5 (lighttpd-1.3.10.tar.gz) = 28623eff50653a9b104ddb20fe65aaf1 >-SIZE (lighttpd-1.3.10.tar.gz) = 667324 >+MD5 (lighttpd-1.3.11.tar.gz) = 730c9b9d743360d23e523968ab4fe7c5 >+SIZE (lighttpd-1.3.11.tar.gz) = 670438 >diff -ruN lighttpd.orig/files/patch-src::cgi.c lighttpd/files/patch-src::cgi.c >--- lighttpd.orig/files/patch-src::cgi.c Sun Feb 20 22:26:06 2005 >+++ lighttpd/files/patch-src::cgi.c Thu Jan 1 01:00:00 1970 >@@ -1,29 +0,0 @@ >---- ./src/cgi.c~ 2005-02-08 00:08:01.000000000 +0200 >-+++ ./src/cgi.c 2005-02-08 00:13:02.000000000 +0200 >-@@ -686,16 +686,18 @@ >- >- int to_cgi_fds[2]; >- int from_cgi_fds[2]; >-- struct stat st; >-- >-+ >- #ifndef __WIN32 >-+ struct stat st; >- >-- /* stat the exec file */ >-- if (-1 == (stat(cgi_handler->ptr, &st))) { >-- log_error_write(srv, __FILE__, __LINE__, "sbss", >-- "stat for cgi-handler", cgi_handler, >-- "failed:", strerror(errno)); >-- return -1; >-+ if (cgi_handler->used > 1) { >-+ /* stat the exec file */ >-+ if (-1 == (stat(cgi_handler->ptr, &st))) { >-+ log_error_write(srv, __FILE__, __LINE__, "sbss", >-+ "stat for cgi-handler", cgi_handler, >-+ "failed:", strerror(errno)); >-+ return -1; >-+ } >- } >- >- if (pipe(to_cgi_fds)) { >diff -ruN lighttpd.orig/files/patch-src::mod_cgi.c lighttpd/files/patch-src::mod_cgi.c >--- lighttpd.orig/files/patch-src::mod_cgi.c Thu Jan 1 01:00:00 1970 >+++ lighttpd/files/patch-src::mod_cgi.c Sun Feb 20 22:51:32 2005 >@@ -0,0 +1,23 @@ >+--- src/mod_cgi.c (revision 34) >++++ src/mod_cgi.c (revision 35) >+@@ -690,12 +690,14 @@ >+ >+ #ifndef __WIN32 >+ >+- /* stat the exec file */ >+- if (-1 == (stat(cgi_handler->ptr, &st))) { >+- log_error_write(srv, __FILE__, __LINE__, "sbss", >+- "stat for cgi-handler", cgi_handler, >+- "failed:", strerror(errno)); >+- return -1; >++ if (cgi_handler->used > 1) { >++ /* stat the exec file */ >++ if (-1 == (stat(cgi_handler->ptr, &st))) { >++ log_error_write(srv, __FILE__, __LINE__, "sbss", >++ "stat for cgi-handler", cgi_handler, >++ "failed:", strerror(errno)); >++ return -1; >++ } >+ } >+ >+ if (pipe(to_cgi_fds)) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 77811
: 51187