From 46ff196b3206178630af807271b8e4afa4ff384c Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Sun, 22 Jul 2001 23:00:52 +0000 Subject: [PATCH] =?utf8?q?Fix=20a=20cosmetic=20problem=20with=20mod=5Fincl?= =?utf8?q?ude.=20=20Non-existant=20SSI=20vars=20used=20to=20appear=20as=20?= =?utf8?q?'(none',=20without=20the=20closing=20paren.=20Submitted=20by:=09?= =?utf8?q?G=EF=BF=BDnter=20Knauf=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89651 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES | 4 ++++ modules/filters/mod_include.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 675125a519..c8b6d82f38 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,9 @@ Changes with Apache 2.0.22-dev + *) Fix a cosmetic problem with mod_include. Non-existant SSI vars + used to appear as '(none', without the closing paren. + [Günter Knauf ] + *) Improve the exports generating awk script. In the past, we had work around problems in the awk script by avoiding some #if and #ifdefs. This has bitten us many times in generating the exports.c diff --git a/modules/filters/mod_include.c b/modules/filters/mod_include.c index 503c73b695..319f4f7d5f 100644 --- a/modules/filters/mod_include.c +++ b/modules/filters/mod_include.c @@ -914,7 +914,7 @@ static int handle_echo(include_ctx_t *ctx, apr_bucket_brigade **bb, request_rec tmp_buck = apr_bucket_heap_create(echo_text, e_len, 1, &e_wrt); } else { - tmp_buck = apr_bucket_immortal_create("(none)", sizeof("none")); + tmp_buck = apr_bucket_immortal_create("(none)", sizeof("(none)")); } APR_BUCKET_INSERT_BEFORE(head_ptr, tmp_buck); if (*inserted_head == NULL) { -- 2.50.1