[Pkg-fedora-ds-maintainers] [libapache2-mod-nss] 20/156: Earlier versions of Apache 2.0 (such as on RHEL 3) don't support AP_BUCKET_IS_EOC. Define around it.

Timo Aaltonen tjaalton-guest at moszumanska.debian.org
Wed Jul 2 13:55:23 UTC 2014


This is an automated email from the git hooks/post-receive script.

tjaalton-guest pushed a commit to branch master
in repository libapache2-mod-nss.

commit 398e33b8e53d3f97de3f11f889fa741929bbff9e
Author: rcritten <>
Date:   Wed Jun 29 22:29:02 2005 +0000

    Earlier versions of Apache 2.0 (such as on RHEL 3) don't support
    AP_BUCKET_IS_EOC. Define around it.
---
 nss_engine_io.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/nss_engine_io.c b/nss_engine_io.c
index b13fc51..667f782 100644
--- a/nss_engine_io.c
+++ b/nss_engine_io.c
@@ -852,6 +852,7 @@ static apr_status_t nss_io_filter_output(ap_filter_t *f,
                 apr_bucket_delete(bucket);
             }
         }
+#if defined AP_BUCKET_IS_EOC
         else if (AP_BUCKET_IS_EOC(bucket)) {
             /* The special "EOC" bucket means a shutdown is needed;
              * - turn off buffering in nspr_filter_out_write
@@ -868,6 +869,7 @@ static apr_status_t nss_io_filter_output(ap_filter_t *f,
             }
             break;
         }
+#endif
         else {
             /* filter output */
             const char *data;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-fedora-ds/libapache2-mod-nss.git



More information about the Pkg-fedora-ds-maintainers mailing list