You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2001/02/23 01:50:25 UTC

cvs commit: httpd-2.0/modules/test mod_autoindex.c

rbb         01/02/22 16:50:25

  Modified:    .        CHANGES
               include  httpd.h
               modules/generators mod_autoindex.c
               modules/test mod_autoindex.c
  Log:
  Namespace protect IOBUFSIZ since it is a public symbol.
  Submitted by:	Jon Travis <jt...@covalent.net>
  
  Revision  Changes    Path
  1.108     +3 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.107
  retrieving revision 1.108
  diff -u -d -b -w -u -r1.107 -r1.108
  --- CHANGES	2001/02/22 23:52:50	1.107
  +++ CHANGES	2001/02/23 00:50:22	1.108
  @@ -1,5 +1,8 @@
   Changes with Apache 2.0.12-dev
   
  +  *) Namespace protect IOBUFSIZ since it is exposed in the API.
  +     [Jon Travis <jt...@covalent.net>]
  +
     *) Use "Basic" authentication instead of "basic" in ab, as the spec
        says we should.  [Andre Breiler <an...@rd.bbc.co.uk>]
   
  
  
  
  1.139     +1 -1      httpd-2.0/include/httpd.h
  
  Index: httpd.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/include/httpd.h,v
  retrieving revision 1.138
  retrieving revision 1.139
  diff -u -d -b -w -u -r1.138 -r1.139
  --- httpd.h	2001/02/18 02:58:49	1.138
  +++ httpd.h	2001/02/23 00:50:23	1.139
  @@ -288,7 +288,7 @@
   #define HUGE_STRING_LEN 8192
   
   /* The size of the server's internal read-write buffers */
  -#define IOBUFSIZE 8192
  +#define AP_IOBUFSIZE 8192
   
   /*
    * Special Apache error codes. These are basically used
  
  
  
  1.60      +2 -2      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.59
  retrieving revision 1.60
  diff -u -d -b -w -u -r1.59 -r1.60
  --- mod_autoindex.c	2001/02/19 02:06:57	1.59
  +++ mod_autoindex.c	2001/02/23 00:50:24	1.60
  @@ -911,7 +911,7 @@
    */
   static void do_emit_plain(request_rec *r, apr_file_t *f)
   {
  -    char buf[IOBUFSIZE + 1];
  +    char buf[AP_IOBUFSIZE + 1];
       int i, c, ch;
       apr_size_t n;
       apr_status_t stat;
  @@ -919,7 +919,7 @@
       ap_rputs("<PRE>\n", r);
       while (!apr_file_eof(f)) {
   	do {
  -            n = sizeof(char) * IOBUFSIZE;
  +            n = sizeof(char) * AP_IOBUFSIZE;
   	    stat = apr_file_read(f, buf, &n);
   	}
   	while (stat != APR_SUCCESS && APR_STATUS_IS_EINTR(stat));
  
  
  
  1.10      +2 -2      httpd-2.0/modules/test/mod_autoindex.c
  
  Index: mod_autoindex.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/test/mod_autoindex.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -d -b -w -u -r1.9 -r1.10
  --- mod_autoindex.c	2001/02/19 02:06:57	1.9
  +++ mod_autoindex.c	2001/02/23 00:50:24	1.10
  @@ -910,7 +910,7 @@
    */
   static void do_emit_plain(request_rec *r, apr_file_t *f)
   {
  -    char buf[IOBUFSIZE + 1];
  +    char buf[AP_IOBUFSIZE + 1];
       int i, c, ch;
       apr_size_t n;
       apr_status_t stat;
  @@ -918,7 +918,7 @@
       ap_rputs("<PRE>\n", r);
       while (!apr_file_eof(f)) {
   	do {
  -            n = sizeof(char) * IOBUFSIZE;
  +            n = sizeof(char) * AP_IOBUFSIZE;
   	    stat = apr_file_read(f, buf, &n);
   	}
   	while (stat != APR_SUCCESS && APR_STATUS_IS_EINTR(stat));