httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@covalent.net
Subject Re: [PATCH] a bit of progress on the dso front
Date Tue, 30 May 2000 16:01:21 GMT

I'll add support for APR_HAS_DSO later today.  This will allow Apache to
build properly when I am done.

Ryan

On Tue, 30 May 2000, Jeff Trawick wrote:

> > From: "William A. Rowe, Jr." <wrowe@lnd.com>
> > 
> > Yes - add the APR_HAS_DSO to the config (NOT to Win32 :-) before
> > you commit 
> > 
> 
> If I knew exactly what to do there and had time to do it, I would have
> done it already :)  I was looking for forward progress towards the
> final goal.
> 
> I won't pretend to have the complete summary of all the messages on
> the topic from yesterday, but I do remember that
> 
> 1) APR configuration needs to be told by Apache whether or not to try
>    to add dso support and define APR_HAS_DSO to 0 or 1 as appropriate.
>    (This may or may not be influenced by whether or not APR can
>    actually implement dso support on the target platform.)
> 
>    For apr.hw, "#define APR_HAS_DSO 0" if the dso stuff doesn't map
>    to Win32 dlls.
> 
> 2) "#if APR_HAS_DSO" needs to be placed around code that uses the DSO
>     support 
> 
> 
> 
> > > -----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...
> > > 
> > 
> 
> 
> -- 
> Jeff Trawick | trawick@ibm.net | PGP public key at web site:
>      http://www.geocities.com/SiliconValley/Park/9289/
>           Born in Roswell... married an alien...
> 


_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message