httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwool...@apache.org
Subject cvs commit: httpd-2.0/modules/generators mod_autoindex.c
Date Sun, 21 Apr 2002 18:35:26 GMT
jwoolley    02/04/21 11:35:26

  Modified:    .        CHANGES
               modules/generators mod_autoindex.c
  Log:
  Fix mod_autoindex output with SuppressRules turned on.
  
  PR: 8016
  Submitted by: David Shane Holden <dpejesh@yahoo.com>
  
  Revision  Changes    Path
  1.720     +5 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.719
  retrieving revision 1.720
  diff -u -d -u -r1.719 -r1.720
  --- CHANGES	19 Apr 2002 21:30:20 -0000	1.719
  +++ CHANGES	21 Apr 2002 18:35:25 -0000	1.720
  @@ -1,5 +1,10 @@
   Changes with Apache 2.0.36
   
  +  *) mod_autoindex output when SuppressRules was specified would
  +     omit the first carriage return so the first item in the list
  +     would appear to the right of the column headings instead of
  +     underneath them. PR 8016  [David Shane Holden <dpejesh@yahoo.com>]
  +
     *) Moved the call to apr_mmap_dup outside the error branch so
        that it would actually get called. This fixes a core dump
        at init everytime you use the MMapFile directive. PR 8314
  
  
  
  1.105     +3 -0      httpd-2.0/modules/generators/mod_autoindex.c
  
  Index: mod_autoindex.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/generators/mod_autoindex.c,v
  retrieving revision 1.104
  retrieving revision 1.105
  diff -u -d -u -r1.104 -r1.105
  --- mod_autoindex.c	13 Apr 2002 12:02:37 -0000	1.104
  +++ mod_autoindex.c	21 Apr 2002 18:35:26 -0000	1.105
  @@ -1607,6 +1607,9 @@
           if (!(autoindex_opts & SUPPRESS_RULES)) {
               ap_rputs("<hr />", r);
           }
  +        else {
  +            ap_rputc('\n', r);
  +        }
       }
       else {
           ap_rputs("<ul>", r);
  
  
  

Mime
View raw message