stas        2004/04/26 18:26:59

  Modified:    xs       modperl_xs_util.h
               .        Changes
  Log:
  revert the previous change and use s/apr_ssize_t/apr_size_t/ to use the
  right types in the functions
  
  Revision  Changes    Path
  1.20      +2 -2      modperl-2.0/xs/modperl_xs_util.h
  
  Index: modperl_xs_util.h
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/xs/modperl_xs_util.h,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -u -r1.19 -r1.20
  --- modperl_xs_util.h 8 Apr 2004 01:41:36 -0000       1.19
  +++ modperl_xs_util.h 27 Apr 2004 01:26:59 -0000      1.20
  @@ -97,11 +97,11 @@
   /* XXX: we probably shouldn't croak here */
   #define mpxs_write_loop(func, obj) \
       while (MARK <= SP) { \
  -        STRLEN wlen; \
  +        apr_size_t wlen; \
           apr_status_t rv; \
           char *buf = SvPV(*MARK, wlen);        \
           MP_TRACE_o(MP_FUNC, "%d bytes [%s]", wlen, buf); \
  -        rv = func(aTHX_ obj, buf, &(apr_size_t)wlen);    \
  +        rv = func(aTHX_ obj, buf, &wlen);    \
           if (rv != APR_SUCCESS) { \
               Perl_croak(aTHX_ modperl_apr_strerror(rv)); \
           } \
  
  
  
  1.363     +2 -0      modperl-2.0/Changes
  
  Index: Changes
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/Changes,v
  retrieving revision 1.362
  retrieving revision 1.363
  diff -u -u -r1.362 -r1.363
  --- Changes   27 Apr 2004 00:27:39 -0000      1.362
  +++ Changes   27 Apr 2004 01:26:59 -0000      1.363
  @@ -12,6 +12,8 @@
   
   =item 1.99_14-dev
   
  +fix type casting problems in the io functions [Stas]
  +
   add support for libgtop 2.5.0+ (maintenance mode) [Stas]
   
   APR::Socket::timeout_set now croaks on failure [Stas]
  
  
  

Reply via email to