httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: cvs commit: apache-1.3/src/main http_config.c (fwd)
Date Fri, 13 Mar 1998 20:42:39 GMT
On Fri, 13 Mar 1998, Ben Laurie wrote:

> Dean Gaudet wrote:
> > 
> > Here's one that I fixed recently.  This looks well used enough to me.
> > 
> > Incidentally, nobody commented on my _NONSTD observation.  It would be
> > nice to fix all the _NONSTD exports because I really don't think they're
> > required in many cases.
> 
> Oh right - yeah, they're only needed on varargs _OR_ functions that have
> their addresses handed around and may be either exported or local. If
> you see what I mean. That's one of the things I had to fix recently to
> make Windoze compile.

Ahhh... I see.  That makes sense -- _NONSTD gives the function C calling
conventions, which is what you'd need to be stuffed into a command_rec or
handler_rec.  (because the function casts for those indirect calls assume
C calling conventions)

Cool.  Stuff that in a .h file somehwere ;)

Dean


Mime
View raw message