jfclere     01/07/25 09:09:35

  Modified:    include  apr_strings.h
               strings  apr_cpystrn.c
  Log:
  Change the size_t into apr_size_t (It causes problems on Solaris with gcc).
  
  Revision  Changes    Path
  1.20      +3 -2      apr/include/apr_strings.h
  
  Index: apr_strings.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_strings.h,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- apr_strings.h     2001/07/24 22:55:28     1.19
  +++ apr_strings.h     2001/07/25 16:09:35     1.20
  @@ -198,9 +198,10 @@
    *          destination string, we return a pointer to the terminating '\0'
    *          to allow us to check for truncation.
    * </PRE>
  - * @deffunc char *apr_cpystrn(char *dst, const char *src, size_t dst_size)
  + * @deffunc char *apr_cpystrn(char *dst, const char *src, apr_size_t 
dst_size)
    */
  -APR_DECLARE(char *) apr_cpystrn(char *dst, const char *src, size_t dst_size);
  +APR_DECLARE(char *) apr_cpystrn(char *dst, const char *src,
  +                                apr_size_t dst_size);
   
   /**
    * Strip spaces from a string
  
  
  
  1.8       +1 -1      apr/strings/apr_cpystrn.c
  
  Index: apr_cpystrn.c
  ===================================================================
  RCS file: /home/cvs/apr/strings/apr_cpystrn.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- apr_cpystrn.c     2001/02/25 20:39:37     1.7
  +++ apr_cpystrn.c     2001/07/25 16:09:35     1.8
  @@ -80,7 +80,7 @@
    * apr_cpystrn() follows the same call structure as strncpy().
    */
   
  -APR_DECLARE(char *) apr_cpystrn(char *dst, const char *src, size_t dst_size)
  +APR_DECLARE(char *) apr_cpystrn(char *dst, const char *src, apr_size_t 
dst_size)
   {
   
       char *d, *end;
  
  
  

Reply via email to