Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 14326 invoked by uid 500); 31 May 2000 06:21:03 -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 Delivered-To: moderator for new-httpd@apache.org Received: (qmail 44398 invoked from network); 30 May 2000 15:39:03 -0000 From: "William A. Rowe, Jr." Sender: "William Rowe" To: , Subject: RE: [PATCH] a bit of progress on the dso front Date: Tue, 30 May 2000 10:38:47 -0500 Message-ID: <000a01bfca4d$2e962e70$345985d0@corecomm.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal In-Reply-To: <200005301532.LAA16044@k5.localdomain> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Yes - add the APR_HAS_DSO to the config (NOT to Win32 :-) before you commit > -----Original Message----- > From: Jeff Trawick [mailto:trawickj@bellsouth.net] > Sent: Tuesday, May 30, 2000 10:32 AM > To: new-httpd@apache.org > Subject: [PATCH] a bit of progress on the dso front > > > This is tiny progress in terms of code but big progress in terms of > whether or not the !@#$ing code will actually build out of the box. > Linux and Solaris (and I suspect OS/390) are happy now with no > makefile editing. > > Any objections to committing this as-is? > > Index: lib/apr/misc/unix/errorcodes.c > =================================================================== > RCS file: /cvs/apache/apache-2.0/src/lib/apr/misc/unix/errorcodes.c,v > retrieving revision 1.18 > diff -u -r1.18 errorcodes.c > --- errorcodes.c 2000/05/29 02:18:44 1.18 > +++ errorcodes.c 2000/05/30 15:22:15 > @@ -74,7 +74,9 @@ > > static char *apr_error_string(ap_status_t statcode) > { > +#if APR_HAS_DSO > char buf[256]; > +#endif > switch (statcode) { > case APR_ENOPOOL: > return "A new pool could not be created."; > @@ -102,8 +104,10 @@ > return "No thread key structure was provided and one > was required."; > case APR_ENOSHMAVAIL: > return "No shared memory is currently available"; > +#if APR_HAS_DSO > case APR_EDSOOPEN: > return ap_dso_error(buf, sizeof(buf), APR_EDSOOPEN); > +#endif > case APR_INCHILD: > return > "Your code just forked, and you are currently > executing in the " > > > -- > Jeff Trawick | trawick@ibm.net | PGP public key at web site: > http://www.geocities.com/SiliconValley/Park/9289/ > Born in Roswell... married an alien... >