httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Bloom <>
Subject cvs commit: apache-2.0/src/main iol_socket.c
Date Thu, 06 Jul 2000 21:20:19 GMT
rbb         00/07/06 14:20:16

  Modified:    src/main iol_socket.c
  Last time I touch this file today, I swear.  :-)
  Okay, this set of ifdef's is required too.  Without them, the code won't
  link on platforms that don't have ap_sendfile.  Any Unix platform that
  doesn't support sendfile (e.g. older linux's) never declares/implements
  ap_sendfile.  With this change, we should compile everywhere.
  Note, we still define iol->sendfile to NULL on platforms that don't have
  sendfile, this doesn't actually change how the code behaves, it just lets
  us compile.
  Revision  Changes    Path
  1.6       +4 -0      apache-2.0/src/main/iol_socket.c
  Index: iol_socket.c
  RCS file: /home/cvs/apache-2.0/src/main/iol_socket.c,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- iol_socket.c	2000/07/06 20:56:59	1.5
  +++ iol_socket.c	2000/07/06 21:20:16	1.6
  @@ -136,7 +136,11 @@
                                      ap_hdtr_t *hdtr, ap_off_t *offset, 
                                      ap_size_t *len,  ap_int32_t flags) 
       return ap_sendfile(((iol_socket *)viol)->sock, file, hdtr, offset, len, flags);
  +    return APR_ENOTIMPL;
   static ap_status_t socket_close(ap_iol *viol)

View raw message