httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@c2.org
Subject please commit this DG/UX patch
Date Thu, 04 Apr 1996 20:50:28 GMT
	Here's a patch to get Apache running on DG/UX.
It was done by kevinu@flochart.com

	(hm, there isn't included a patch to 'Configuration'. I'll
check with Kevin to see if all that's needed is -DDGUX on AUX_CFLAGS
or if other stuff is needed as well.)


*** sameer/ApacheSSL-src/apache/conf.h	Thu Mar  7 01:02:32 1996
--- src/ApacheSSL-src/apache/conf.h	Wed Apr  3 23:42:34 1996
***************
*** 223,228 ****
--- 223,240 ----
  /* A lot of SVR4 systems need this */
  #define FCNTL_SERIALIZED_ACCEPT
  
+ #elif defined(DGUX)
+ #define NO_KILLPG
+ #undef  NO_SETSID
+ #undef NEED_STRDUP
+ #define NEED_STRCASECMP
+ #define NEED_STRNCASECMP
+ #define bzero(a,b) memset(a,0,b)
+ #define JMP_BUF sigjmp_buf
+ #define getwd(d) getcwd(d,MAX_STRING_LEN)
+ /* A lot of SVR4 systems need this */
+ #define FCNTL_SERIALIZED_ACCEPT
+ 
  #elif defined(__NetBSD__)
  #define HAS_GMTOFF
  #undef NO_KILLPG


*** sameer/ApacheSSL-src/apache/util.c	Thu Mar  7 01:02:41 1996
--- src/ApacheSSL-src/apache/util.c	Wed Apr  3 23:45:22 1996
***************
*** 872,878 ****
--- 872,882 ----
      if (wild_allowed && !strcmp(w, "*")) 
  	return htonl(INADDR_ANY);
  	
+ #ifdef DGUX
+     my_addr = inet_network(w);
+ #else
      my_addr = inet_addr(w);
+ #endif
      if (my_addr != ((unsigned long) 0xffffffff))
  	return my_addr;






-- 
Sameer Parekh					Voice:   510-601-9777x3
Community ConneXion, Inc.			FAX:     510-601-9734
The Internet Privacy Provider			Dialin:  510-658-6376
http://www.c2.net/ (or login as "guest")		sameer@c2.net

Mime
View raw message