httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dr...@locus.apache.org
Subject cvs commit: apache-2.0/src/os/beos iol_socket.c
Date Fri, 12 May 2000 10:41:55 GMT
dreid       00/05/12 03:41:55

  Modified:    src/os/beos iol_socket.c
  Log:
  The latest BeOS version seems to have writev for sockets, so let's
  use it.  Should make dean happier!
  
  Revision  Changes    Path
  1.10      +4 -0      apache-2.0/src/os/beos/iol_socket.c
  
  Index: iol_socket.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/os/beos/iol_socket.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- iol_socket.c	2000/04/16 16:59:40	1.9
  +++ iol_socket.c	2000/05/12 10:41:54	1.10
  @@ -110,9 +110,13 @@
   ap_status_t beos_writev(ap_iol *viol, const struct iovec *vec, ap_size_t nvec,
       ap_ssize_t *nbytes)
   {
  +#ifndef HAVE_NETINET_TCP_H
       /* At present BeOS doesn't support writev for sockets... */
       *nbytes = vec[0].iov_len;
       return ap_send(((iol_socket *)viol)->sock, vec[0].iov_base, nbytes);
  +#else
  +    return ap_sendv(((iol_socket *)viol)->sock, vec, nvec, nbytes);
  +#endif
   }
   
   ap_status_t beos_read(ap_iol *viol, char* buf, ap_size_t size,
  
  
  

Mime
View raw message