httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Red Hat Linux User <trawi...@bellsouth.net>
Subject Re: cvs commit: apache-2.0/src/modules/dav/main dav_dyn.c dav_opaquelock.h mod_dav.c mod_dav.h opaquelock.c props.c util.c util_lock.c
Date Wed, 28 Jun 2000 13:35:50 GMT
gstein@locus.apache.org wrote:
> 
> gstein      00/06/28 04:23:58
> 
>   Modified:    src/main util_xml.c
>                src/modules/dav/fs dbm.c lock.c repos.c repos.h
>                src/modules/dav/main dav_dyn.c dav_opaquelock.h mod_dav.c
>                         mod_dav.h opaquelock.c props.c util.c util_lock.c
>   Log:
>   get the DAV stuff to compile for Apache 2.0. some unpleasantries are in
>       there, but it *does* compile.

Greg:

I noticed on RedHat 5.x that mod_dav.h uses INT_MAX but only includes limits.h
on Win32.

I don't see anything in your commit which would remedy that situation.  There
is no feature test in the following patch (probably not needed for limits.h?)
and I still can't link-edit, so I've disabled mod_dav for the moment.
  
Index: modules/dav/main/mod_dav.h
===================================================================
RCS file: /cvs/apache/apache-2.0/src/modules/dav/main/mod_dav.h,v
retrieving revision 1.3
diff -u -r1.3 mod_dav.h
--- mod_dav.h   2000/06/28 11:23:51     1.3
+++ mod_dav.h   2000/06/28 13:32:45
@@ -73,8 +73,9 @@

 #define DAV_READ_BLOCKSIZE     2048    /* used for reading input blocks */

-#ifdef WIN32
 #include <limits.h>
+
+#ifdef WIN32
 typedef int ssize_t;
 #endif /* WIN32 */

Mime
View raw message