httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apache-2.0/src/main http_core.c
Date Thu, 12 Oct 2000 03:17:39 GMT
trawick     00/10/11 20:17:38

  Modified:    src/main http_core.c
  Log:
  Get rid of some compile warnings on systems with no sendfile and/or lack of
  one or more rlimit controls.  (Solaris 2.8 hits both of these.)
  
  Revision  Changes    Path
  1.163     +3 -1      apache-2.0/src/main/http_core.c
  
  Index: http_core.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/http_core.c,v
  retrieving revision 1.162
  retrieving revision 1.163
  diff -u -r1.162 -r1.163
  --- http_core.c	2000/10/12 01:50:51	1.162
  +++ http_core.c	2000/10/12 03:17:36	1.163
  @@ -2493,7 +2493,7 @@
   
   #if !defined (RLIMIT_CPU) || !(defined (RLIMIT_DATA) || defined (RLIMIT_VMEM) || defined(RLIMIT_AS))
|| !defined (RLIMIT_NPROC)
   static const char *no_set_limit(cmd_parms *cmd, core_dir_config *conf,
  -                                char *arg, char *arg2)
  +                                const char *arg, const char *arg2)
   {
       ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, cmd->server,
                   "%s not supported on this platform", cmd->cmd->name);
  @@ -3420,7 +3420,9 @@
           }
           if (fd) {
               apr_hdtr_t hdtr;
  +#if APR_HAS_SENDFILE
               apr_int32_t flags = 0;
  +#endif
   
               memset(&hdtr, '\0', sizeof(hdtr));
               if (nvec) {
  
  
  

Mime
View raw message