+++ /dev/null
---- ./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)) {
+++ /dev/null
---- 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) {
+++ /dev/null
---- 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;
- }
-