httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/misc/win32 errorcodes.c
Date Wed, 26 Apr 2000 02:43:02 GMT
stoddard    00/04/25 19:43:01

  Modified:    src/lib/apr/include apr_general.h
               src/lib/apr/misc/unix errorcodes.c
               src/lib/apr/misc/win32 errorcodes.c
  Log:
  Change size_t to ap_size_t on ap_strerror(). Sorry about missing this the
  first time through.
  
  Revision  Changes    Path
  1.29      +2 -2      apache-2.0/src/lib/apr/include/apr_general.h
  
  Index: apr_general.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr_general.h,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- apr_general.h	2000/04/26 02:36:33	1.28
  +++ apr_general.h	2000/04/26 02:42:57	1.29
  @@ -359,7 +359,7 @@
   
   /*
   
  -=head1 char *ap_strerror(ap_status_t statcode, char *buf, size_t bufsize)
  +=head1 char *ap_strerror(ap_status_t statcode, char *buf, ap_size_t bufsize)
   
   B<Return a human readable string describing the specified error.>
   
  @@ -369,7 +369,7 @@
   
   =cut
    */
  -char *ap_strerror(ap_status_t statcode, char *buf, size_t bufsize);
  +char *ap_strerror(ap_status_t statcode, char *buf, ap_size_t bufsize);
   
   #ifdef __cplusplus
   }
  
  
  
  1.9       +3 -3      apache-2.0/src/lib/apr/misc/unix/errorcodes.c
  
  Index: errorcodes.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/misc/unix/errorcodes.c,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- errorcodes.c	2000/04/26 02:36:36	1.8
  +++ errorcodes.c	2000/04/26 02:42:58	1.9
  @@ -134,12 +134,12 @@
   #ifdef WIN32
   #error "not implemented yet"
   #elif OS2
  -static char *apr_os_strerror(int err, char *buf, size_t bufsize);
  +static char *apr_os_strerror(int err, char *buf, ap_size_t bufsize);
   #else
   #define apr_os_strerror(err, buf, bufsize)	strerror(err)
   #endif
   
  -char *ap_strerror(ap_status_t statcode, char *buf, size_t bufsize)
  +char *ap_strerror(ap_status_t statcode, char *buf, ap_size_t bufsize)
   {
       if (statcode < APR_OS_START_ERROR) {
           return strerror(statcode);
  @@ -162,7 +162,7 @@
   #include <os2.h>
   #include <ctype.h>
   
  -static char *apr_os_strerror(int err, char* buf, size_t bufsize)
  +static char *apr_os_strerror(int err, char* buf, ap_size_t bufsize)
   {
     char result[200];
     unsigned char message[HUGE_STRING_LEN];
  
  
  
  1.7       +2 -2      apache-2.0/src/lib/apr/misc/win32/errorcodes.c
  
  Index: errorcodes.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/misc/win32/errorcodes.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- errorcodes.c	2000/04/26 02:36:37	1.6
  +++ errorcodes.c	2000/04/26 02:43:00	1.7
  @@ -132,7 +132,7 @@
       }
   }
   
  -static char *ap_os_format_message(ap_status_t errcode, char *buf, size_t bufsize)
  +static char *ap_os_format_message(ap_status_t errcode, char *buf, ap_size_t bufsize)
   {
       DWORD len;
       DWORD i;
  @@ -162,7 +162,7 @@
       return buf;
   }
   
  -char *ap_strerror(ap_status_t statcode, char* buf, size_t bufsize)
  +char *ap_strerror(ap_status_t statcode, char* buf, ap_size_t bufsize)
   {
       if (statcode < APR_OS_START_ERROR) {
           return ap_os_format_message(statcode, buf, bufsize);
  
  
  

Mime
View raw message