dgaudet     99/12/30 21:09:22

  Modified:    src/lib/apr/include apr_time.h
               src/lib/apr/time/unix timestr.c
  Log:
  retsize should be ap_size_t, not hardwired to 32 bits
  
  Revision  Changes    Path
  1.8       +1 -1      apache-2.0/src/lib/apr/include/apr_time.h
  
  Index: apr_time.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr_time.h,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- apr_time.h        1999/12/30 18:31:27     1.7
  +++ apr_time.h        1999/12/31 05:09:20     1.8
  @@ -77,7 +77,7 @@
   ap_status_t ap_implode_time(ap_time_t *);
   
   ap_status_t ap_timestr(char **date_str, struct atime_t *t, ap_timetype_e 
type, ap_context_t *p);
  -ap_status_t ap_strftime(char *s, ap_int32_t *retsize, ap_size_t max, const 
char *format, ap_time_t *tm);
  +ap_status_t ap_strftime(char *s, ap_size_t *retsize, ap_size_t max, const 
char *format, ap_time_t *tm);
   
   /* accessor functions */
   ap_status_t ap_get_curtime(ap_time_t *, ap_int64_t *);
  
  
  
  1.4       +1 -1      apache-2.0/src/lib/apr/time/unix/timestr.c
  
  Index: timestr.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/time/unix/timestr.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- timestr.c 1999/12/30 18:31:28     1.3
  +++ timestr.c 1999/12/31 05:09:21     1.4
  @@ -126,7 +126,7 @@
       */
   }
   
  -ap_status_t ap_strftime(char *s, ap_int32_t *retsize, ap_size_t max, 
  +ap_status_t ap_strftime(char *s, ap_size_t *retsize, ap_size_t max, 
                           const char *format, struct atime_t *tm)
   {
       (*retsize) = strftime(s, max, format, tm->explodedtime);
  
  
  

Reply via email to