Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 15847 invoked from network); 26 Jan 2010 07:05:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Jan 2010 07:05:59 -0000 Received: (qmail 70154 invoked by uid 500); 26 Jan 2010 07:05:58 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 70039 invoked by uid 500); 26 Jan 2010 07:05:57 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 70030 invoked by uid 99); 26 Jan 2010 07:05:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jan 2010 07:05:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.9] (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 26 Jan 2010 07:05:56 +0000 Received: (qmail 15815 invoked by uid 2161); 26 Jan 2010 07:05:36 -0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) by hilbert.heimnetz.de (Postfix) with ESMTP id A06E46045 for ; Tue, 26 Jan 2010 08:05:35 +0100 (CET) Message-ID: <4B5E943F.8090002@apache.org> Date: Tue, 26 Jan 2010 08:05:35 +0100 From: Ruediger Pluem User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.23) Gecko/20090823 SeaMonkey/1.1.18 MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: svn commit: r903052 - /httpd/httpd/trunk/modules/generators/mod_autoindex.c References: <20100126022505.170D923888E4@eris.apache.org> In-Reply-To: <20100126022505.170D923888E4@eris.apache.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit On 26.01.2010 03:25, rbowen@apache.org wrote: > Author: rbowen > Date: Tue Jan 26 02:25:04 2010 > New Revision: 903052 > > URL: http://svn.apache.org/viewvc?rev=903052&view=rev > Log: > Applies the patch provided in ticket 34014, enhancing the CSS abilities > of mod_autoindex. Documentation to follow momentarily. > > Modified: > httpd/httpd/trunk/modules/generators/mod_autoindex.c > > Modified: httpd/httpd/trunk/modules/generators/mod_autoindex.c > URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/generators/mod_autoindex.c?rev=903052&r1=903051&r2=903052&view=diff > ============================================================================== > --- httpd/httpd/trunk/modules/generators/mod_autoindex.c (original) > +++ httpd/httpd/trunk/modules/generators/mod_autoindex.c Tue Jan 26 02:25:04 2010 > @@ -1090,9 +1094,18 @@ > if (emit_amble) { > emit_preamble(r, emit_xhtml, title); > } > + > + autoindex_config_rec *d; > + d = (autoindex_config_rec *) ap_get_module_config(r->per_dir_config, &autoindex_module); > + > if (emit_H1) { > + if (d->style_sheet != NULL) { > + // Insert style id if stylesheet used Please do not use C++ style comments as they fail on ANSI compilers. Regards RĂ¼diger