You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Ralf S. Engelschall" <rs...@engelschall.com> on 1998/08/03 09:56:12 UTC

Re: [PATCH] PR2702 conflicting declaration of dlerror in AIX

In article <35...@raleigh.ibm.com> you wrote:

> Tested on Linux, AIX 4.1.5 and AIX 4.2.1. This shouldn't cause any
> problems but I wanted to post it for review anyway just in case.

Just one question: Why is it needed to remove the `const' in general and not
only for AIX? The problem is just that dlfcn.h exists in newer AIX variants
but shouldn't be used. So I would do an #undef HAVE_DLFNC_H for AIX. Isn't
that enough? IMHO it leads perhaps to new portability problems when
just changing the stuff for all platforms.

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com

Re: [PATCH] PR2702 conflicting declaration of dlerror in AIX

Posted by Bill Stoddard <st...@raleigh.ibm.com>.
Ralf S. Engelschall wrote:
> 
> In article <35...@raleigh.ibm.com> you wrote:
> 
> > Tested on Linux, AIX 4.1.5 and AIX 4.2.1. This shouldn't cause any
> > problems but I wanted to post it for review anyway just in case.
> 
> Just one question: Why is it needed to remove the `const' in general and not
> only for AIX? The problem is just that dlfcn.h exists in newer AIX variants
> but shouldn't be used. So I would do an #undef HAVE_DLFNC_H for AIX. Isn't
> that enough? IMHO it leads perhaps to new portability problems when
> just changing the stuff for all platforms.
> 

I'll add #undef HAVE_DLFNC_H to os.h for AIX. That makes more sense to
me too. 
Thanks for the suggestion.

-- 
Bill Stoddard
stoddard@raleigh.ibm.com