httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aram W. Mirzadeh" <...@qosina.com>
Subject linux patches (needed )
Date Tue, 05 Sep 1995 15:02:16 GMT

I have not used the name convension yet... sorry.  I just got back from a 4 day
vacation, and haven't had the time.  I know the end of voting is today, but 
the following patches ( the first two ) are needed.

LINUX system patches:

The following error is generated after mod_log_config.c patch is applied:

[184] [10:43am] [/usr/local/etc/httpd-8080/apache_0.8.12/src]#make 
gcc -c -O2 -m486 -DLINUX mod_log_config.c
mod_log_config.c: In function `log_request_itime':
mod_log_config.c:221: storage size of `t' isn't known
make: *** [mod_log_config.o] Error 1

To fix this the following patchs are needed:

*** conf.h.orig	Tue Sep  5 10:47:46 1995
--- conf.h	Tue Sep  5 10:47:53 1995
***************
*** 181,189 ****
  #undef NO_KILLPG
  #undef NO_SETSID
  #undef NEED_STRDUP
- #define FD_SET __FD_SET
- #define FD_ZERO __FD_ZERO
- #define FD_ISSET __FD_ISSET
  #define JMP_BUF sigjmp_buf
  #define FCNTL_SERIALIZED_ACCEPT
  
--- 181,186 ----

>>>> END OF PATCH conf.h <<<< 
>>>> START OF MOD_LOG_CONFIG.C PATCH <<<<

*** mod_log_config.c.orig	Tue Sep  5 10:51:13 1995
--- mod_log_config.c	Tue Sep  5 10:51:29 1995
***************
*** 125,130 ****
--- 125,131 ----
  
  #include "httpd.h"
  #include "http_config.h"
+ #include <sys/time.h>
  
  module config_log_module;
  

>>>> END OF PATCH MOD_LOG_CONFIG.C <<<< 

The following patch is cosmetic only... it cleans up one warning message with
gcc:

*** http_main.c.orig	Tue Sep  5 10:49:07 1995
--- http_main.c	Tue Sep  5 10:49:49 1995
***************
*** 686,692 ****
  					       sizeof (struct in_addr),
  					       AF_INET);
  	    if (h != NULL) {
! 		s->server_hostname = pstrdup (pconf, h->h_name);
  	    }
  	}
  }
--- 686,692 ----
  					       sizeof (struct in_addr),
  					       AF_INET);
  	    if (h != NULL) {
! 		s->server_hostname = pstrdup (pconf, (void *)h->h_name);
  	    }
  	}
  }

>>>> END OF http_main.c patch <<<< 

Also, I tried loading up the dld module, and it's missing a dld.h file. 
Is this something that is being worked on?  If so it should state that
in the Configuration file. 

<Aram>
--
Aram W. Mirzadeh, MIS Manager, Qosina Corporation
http://www.qosina.com/~awm/, awm@qosina.com
Apache httpd server team http://www.apache.org



Mime
View raw message