You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by tr...@apache.org on 2002/02/04 20:21:17 UTC

cvs commit: apr/network_io/unix sendrecv.c

trawick     02/02/04 11:21:17

  Modified:    .        CHANGES
               network_io/unix sendrecv.c
  Log:
  In the Linux apr_sendfile(), fix the types of some parameters
  to apr_send() and apr_recv().  Breakage was seen in 64-bit mode
  on s/390.
  
  PR:              9712
  Submitted by:	 Neale.Ferguson@SoftwareAG-usa.coom
  Reviewed by:	 Jeff Trawick, who added the fix to the apr_send() parameter
  
  Revision  Changes    Path
  1.215     +4 -0      apr/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apr/CHANGES,v
  retrieving revision 1.214
  retrieving revision 1.215
  diff -u -r1.214 -r1.215
  --- CHANGES	30 Jan 2002 13:30:31 -0000	1.214
  +++ CHANGES	4 Feb 2002 19:21:16 -0000	1.215
  @@ -1,5 +1,9 @@
   Changes with APR b1  
   
  +  *) In the Linux apr_sendfile(), fix the types of some parameters 
  +     to apr_send() and apr_recv().  Breakage was seen in 64-bit mode
  +     on s/390.  [Neale.Ferguson@SoftwareAG-usa.coom]
  +
     *) added APR_PROGRAM_ENV and APR_PROGRAM_PATH options for starting
        processes via apr_proc_create() [Greg Stein]
   
  
  
  
  1.77      +2 -2      apr/network_io/unix/sendrecv.c
  
  Index: sendrecv.c
  ===================================================================
  RCS file: /home/cvs/apr/network_io/unix/sendrecv.c,v
  retrieving revision 1.76
  retrieving revision 1.77
  diff -u -r1.76 -r1.77
  --- sendrecv.c	22 Aug 2001 19:23:24 -0000	1.76
  +++ sendrecv.c	4 Feb 2002 19:21:17 -0000	1.77
  @@ -293,7 +293,7 @@
       flags = 0;
   
       if (hdtr->numheaders > 0) {
  -        apr_int32_t hdrbytes;
  +        apr_size_t hdrbytes;
   
           /* cork before writing headers */
           rv = apr_setsocketopt(sock, APR_TCP_NOPUSH, 1);
  @@ -369,7 +369,7 @@
   
       /* Now write the footers */
       if (hdtr->numtrailers > 0) {
  -        apr_int32_t trbytes;
  +        apr_size_t trbytes;
           arv = apr_sendv(sock, hdtr->trailers, hdtr->numtrailers, &trbytes);
           nbytes += trbytes;
           if (arv != APR_SUCCESS) {