httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Hyde <bh...@gensym.com>
Subject RE: cvs commit: apache-1.3/src/modules/standard mod_log_referer.c
Date Thu, 21 May 1998 13:38:06 GMT
On Wednesday, May 20, 1998 6:34 PM, Ben Laurie [SMTP:ben@algroup.co.uk]
wrote:
> > That's coz ap_table_get() returns a char * instead of a const char
*, I
> > guess.
> 
> And fixing that produces this alarmingly large patch, that
surprisingly
> reveals no other bugs, but may prevent them in future.

Well that is surprising!

My experience is, though, that you can't ever "const" a return value in
an 
real API since the N platforms do such a horrible job of decorating
their 
libraries with const. Hence you get warnings as your noble const 
touches their sloppy routines.  - ben hyde

Mime
View raw message