X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=apache-mod_fastcgi-apr1.patch;h=6c15d6cd31f65d014703782aee63cc3556453e52;hb=ebb9c1bc5be2d87fff97527524b097fd42e83337;hp=36c30126fe24a59c243ca5e24c5394bf9fee9283;hpb=3021dd260f9cbf38c16a8a1299028982d467fd55;p=packages%2Fapache-mod_fastcgi.git diff --git a/apache-mod_fastcgi-apr1.patch b/apache-mod_fastcgi-apr1.patch index 36c3012..6c15d6c 100644 --- a/apache-mod_fastcgi-apr1.patch +++ b/apache-mod_fastcgi-apr1.patch @@ -961,7 +961,7 @@ diff -urN mod_fastcgi-2.4.2.org/fcgi_util.c mod_fastcgi-2.4.2/fcgi_util.c ap_no2slash(path); for (s = fcgi_servers; s != NULL; s = s->next) { -@@ -367,21 +367,21 @@ +@@ -367,16 +367,16 @@ const char *err; if (finfo == NULL) { @@ -971,12 +971,6 @@ diff -urN mod_fastcgi-2.4.2.org/fcgi_util.c mod_fastcgi-2.4.2/fcgi_util.c - return ap_psprintf(p, "stat(%s) failed: %s", fs_path, strerror(errno)); + return apr_psprintf(p, "stat(%s) failed: %s", fs_path, strerror(errno)); } - - /* No Parse Header scripts aren't allowed. - * @@@ Well... we really could quite easily */ - if (strncmp(strrchr(fs_path, '/'), "/nph-", 5) == 0) -- return ap_psprintf(p, "NPH scripts cannot be run as FastCGI"); -+ return apr_psprintf(p, "NPH scripts cannot be run as FastCGI"); if (finfo->st_mode == 0) - return ap_psprintf(p, "script not found or unable to stat()"); @@ -1078,15 +1072,15 @@ diff -urN mod_fastcgi-2.4.2.org/mod_fastcgi.c mod_fastcgi-2.4.2/mod_fastcgi.c continue; } -@@ -736,7 +736,7 @@ - goto DuplicateNotAllowed; - } - hasContentType = TRUE; +@@ -738,7 +738,7 @@ + #ifdef APACHE2 + ap_set_content_type(r, value); + #else - r->content_type = ap_pstrdup(r->pool, value); + r->content_type = apr_pstrdup(r->pool, value); + #endif continue; } - @@ -745,16 +745,16 @@ goto DuplicateNotAllowed; }