httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John K. Sterling" <sterl...@covalent.net>
Subject [patch] more winnt compile/link fixes
Date Wed, 01 Nov 2000 00:33:25 GMT

1) seems winnt complains about the size of a void * if you do pointer
arithmetic (is casting to a char * ok?)
2) def file had a function that once was, but no longer seems to be

Index: http_config.c
===================================================================
RCS file: /home/cvspublic/apache-2.0/src/main/http_config.c,v
retrieving revision 1.82
diff -u -r1.82 http_config.c
--- http_config.c	2000/10/30 20:13:02	1.82
+++ http_config.c	2000/11/01 07:10:45
@@ -1177,7 +1177,7 @@
 	p = apr_pstrdup(cmd->pool, arg);
     else
 	p = ap_make_full_path(cmd->pool, ap_server_root, arg);
-    *(char **) (struct_ptr + offset) = p;
+    *(char **) (((char *)struct_ptr) + offset) = p;
     return NULL;
 }
 

Index: ApacheCore.def
===================================================================
RCS file: /home/cvspublic/apache-2.0/src/ApacheCore.def,v
retrieving revision 1.35
diff -u -r1.35 ApacheCore.def
--- ApacheCore.def	2000/10/24 11:54:26	1.35
+++ ApacheCore.def	2000/11/01 07:22:34
@@ -289,7 +289,6 @@
 	ap_rprintf   @282
 	ap_rvputs   @283
 
-	ap_send_header_field   @285
 	ap_server_argv0   @286
 	ap_server_root   @287
 	ap_set_file_slot  @288


Mime
View raw message