httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <trawi...@bellsouth.net>
Subject Re: My oh my
Date Sat, 22 Apr 2000 12:29:20 GMT
> On Fri, 21 Apr 2000, Bill Stoddard wrote:
> >...
> > +1
> > 
> > on changing 
> >     const char *ap_strerror(ap_status_t statcode, ap_pool_t *p)
> > to
> >     const char *ap_strerror(ap_status_t statcode, char *buf, size_t bufsize);
> 
> 
> +1 here, too. Why? Read Ben's posts :-)
> 
> Cheers,
> -g
> 
> -- 
> Greg Stein, http://www.lyra.org/

But why not "char *" instead of "const char *" since it is clearly the
caller's buffer which is referenced by the return value?

-- 
Jeff Trawick | trawick@ibm.net | PGP public key at web site:
     http://www.geocities.com/SiliconValley/Park/9289/
          Born in Roswell... married an alien...

Mime
View raw message