On Tuesday 24 July 2001 22:45, William A. Rowe, Jr. wrote:
> Good point.  And folks, this is a 2.0.22-dev showstopper :(
>
> Ryan, you invented both constructs.  Thoughts?

First, apr_file_set_inherit isn't in the exports file, because we explicitly don't put 
it there.
The problem is that the function only exists when a macro is evaluated, so if we use 
the 
awk script, then we try to create  a line like:

void *ap_hack_apr_set_##type##_inherit = apr_set_##name##_inherit

This is obviosly wrong.  No amount of mucking with APR_DECLARE_* will resolve this.

I guess I am having a hard time seeing any way to resolve this problem.

Ryan

>
> Bill
>
> ----- Original Message -----
> From: "Brian Havard" <[EMAIL PROTECTED]>
> To: "Apache Developers Mailing List" <[EMAIL PROTECTED]>
> Sent: Tuesday, July 24, 2001 9:43 PM
> Subject: make_exports.awk vs APR_DECLARE_* macros
>
> > A problem I have with the current code is that apr_file_set_inherit()
> > isn't included in the exports list because its declaration isn't of the
> > usual form. We need to either make make_exports.awk aware of the various
> > APR_DECLARE_* macros or ditch them altogether & declare them normally. I
> > vote the latter, we write the standard form in the comment above it
> > anyway...
> >
> > --
> > 
> > _________________________________________________________________________
> >_____
> >
> >  |  Brian Havard                 |  "He is not the messiah!              
> >  |     | [EMAIL PROTECTED]  |  He's a very naughty boy!" - Life
> >  | of Brian |
> >
> > 
> > -------------------------------------------------------------------------
> >-----

-- 

_____________________________________________________________________________
Ryan Bloom                              [EMAIL PROTECTED]
Covalent Technologies                   [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to