From new-httpd-return-5778-apmail-new-httpd-archive=apache.org@apache.org Thu Jun 29 00:54:08 2000 Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 12927 invoked by uid 500); 29 Jun 2000 00:53:59 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk X-No-Archive: yes Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 12797 invoked from network); 29 Jun 2000 00:53:50 -0000 Date: Wed, 28 Jun 2000 17:55:53 -0700 From: Greg Stein To: new-httpd@apache.org 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 Message-ID: <20000628175553.L29590@lyra.org> Mail-Followup-To: new-httpd@apache.org References: <20000628112401.46774.qmail@locus.apache.org> <3959FF36.31B1B0E5@bellsouth.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <3959FF36.31B1B0E5@bellsouth.net>; from trawickj@bellsouth.net on Wed, Jun 28, 2000 at 09:35:50AM -0400 X-URL: http://www.lyra.org/greg/ X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N On Wed, Jun 28, 2000 at 09:35:50AM -0400, Red Hat Linux User wrote: > 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. Hunh. I develop on RedHat, so I'm surprised that this never came up. It does make sense. In truth, there is a lot of feature testing and APR-ization that needs to occur in the DAV code. I suspect that mod_dav was never used on the broad variety of platforms that Apache is :-) > 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. I disabled mod_dav in the configuration, too (because of the link problem). If you update and reconfig, then it should become disabled. I'll patch in your limits thing below, but I also recognize that much more is needed. Cheers, -g > > 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 > + > +#ifdef WIN32 > typedef int ssize_t; > #endif /* WIN32 */ -- Greg Stein, http://www.lyra.org/