httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr configure.in
Date Fri, 23 Jun 2000 16:00:47 GMT
stoddard    00/06/23 09:00:46

  Modified:    src/main http_protocol.c
               src/lib/apr configure.in
  Log:
  Properly detect the existance of send_file() on AIX
  
  Submitted by:	Victor Orlikowski
  Reviewed by:	Bill Stoddard
  
  Revision  Changes    Path
  1.84      +1 -1      apache-2.0/src/main/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/http_protocol.c,v
  retrieving revision 1.83
  retrieving revision 1.84
  diff -u -r1.83 -r1.84
  --- http_protocol.c	2000/06/20 04:22:39	1.83
  +++ http_protocol.c	2000/06/23 16:00:29	1.84
  @@ -2171,7 +2171,7 @@
   API_EXPORT(long) ap_send_fd(ap_file_t *fd, request_rec *r)
   {
       long len = r->finfo.size;
  -#ifdef HAVE_SENDFILE
  +#if APR_HAS_SENDFILE
       if (!r->chunked) {
   	ap_status_t rv;
           ap_bsetopt(r->connection->client, BO_TIMEOUT,
  
  
  
  1.117     +1 -1      apache-2.0/src/lib/apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/configure.in,v
  retrieving revision 1.116
  retrieving revision 1.117
  diff -u -r1.116 -r1.117
  --- configure.in	2000/06/23 12:24:35	1.116
  +++ configure.in	2000/06/23 16:00:44	1.117
  @@ -201,7 +201,7 @@
   AC_CHECK_FUNCS(strcasecmp stricmp setsid nl_langinfo)
   AC_CHECK_FUNCS(sigaction, [ have_sigaction="1" ], [ have_sigaction="0" ]) 
   AC_CHECK_FUNCS(writev)
  -AC_CHECK_FUNCS(sendfile, [ sendfile="1" ], [ sendfile="0" ])
  +AC_CHECK_FUNCS(sendfile send_file, [ sendfile="1" ], [ sendfile="0" ])
   AC_CHECK_FUNCS(fork, [ fork="1" ], [ fork="0" ])
   AC_CHECK_FUNCS(getpass)
   AC_CHECK_FUNC(inet_addr, [ inet_addr="1" ], [ inet_addr="0" ])
  
  
  

Mime
View raw message