From 5dd0f84732c3c41fde3871291b0b52aa1df49106 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 20 Feb 2005 20:02:07 +0000 Subject: [PATCH] - outdated; applied in 1.3.11 Changed files: lighttpd-empty_cgi_handler.patch -> 1.2 lighttpd-index-file.patch -> 1.2 lighttpd-mod_auth-crash.patch -> 1.2 --- lighttpd-empty_cgi_handler.patch | 29 ----------------------------- lighttpd-index-file.patch | 16 ---------------- lighttpd-mod_auth-crash.patch | 23 ----------------------- 3 files changed, 68 deletions(-) delete mode 100644 lighttpd-empty_cgi_handler.patch delete mode 100644 lighttpd-index-file.patch delete mode 100644 lighttpd-mod_auth-crash.patch diff --git a/lighttpd-empty_cgi_handler.patch b/lighttpd-empty_cgi_handler.patch deleted file mode 100644 index 2c8e7d7..0000000 --- a/lighttpd-empty_cgi_handler.patch +++ /dev/null @@ -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 --git a/lighttpd-index-file.patch b/lighttpd-index-file.patch deleted file mode 100644 index 614de5b..0000000 --- a/lighttpd-index-file.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- src/response.c (revision 9) -+++ src/response.c (revision 10) -@@ -1245,13 +1245,6 @@ - default: - break; - } -- -- if (HANDLER_GO_ON == file_cache_get_entry(srv, con, srv->tmp_buf, &(con->fce))) { -- /* rewrite uri.path to the real path (/ -> /index.php) */ -- buffer_append_string_buffer(con->uri.path, ds->value); -- -- break; -- } - } - - if (k == con->conf.indexfiles->used) { diff --git a/lighttpd-mod_auth-crash.patch b/lighttpd-mod_auth-crash.patch deleted file mode 100644 index 3fa0620..0000000 --- a/lighttpd-mod_auth-crash.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- src/mod_auth.c (revision 10) -+++ src/mod_auth.c (revision 11) -@@ -404,17 +404,17 @@ - } - - if (method == NULL) { -- log_error_write(srv, __FILE__, __LINE__, "sssbs", "missing entry for key: ", "auth.require", "[", "method", "](string)"); -+ log_error_write(srv, __FILE__, __LINE__, "sssss", "missing entry for key: ", "auth.require", "[", "method", "](string)"); - return HANDLER_ERROR; - } - - if (realm == NULL) { -- log_error_write(srv, __FILE__, __LINE__, "sssbs", "missing entry for key: ", "auth.require", "[", "realm", "](string)"); -+ log_error_write(srv, __FILE__, __LINE__, "sssss", "missing entry for key: ", "auth.require", "[", "realm", "](string)"); - return HANDLER_ERROR; - } - - if (require == NULL) { -- log_error_write(srv, __FILE__, __LINE__, "sssbs", "missing entry for key: ", "auth.require", "[", "require", "](string)"); -+ log_error_write(srv, __FILE__, __LINE__, "sssss", "missing entry for key: ", "auth.require", "[", "require", "](string)"); - return HANDLER_ERROR; - } - -- 2.44.0