httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Hyde <>
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 []
> > 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
> 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
real API since the N platforms do such a horrible job of decorating
libraries with const. Hence you get warnings as your noble const 
touches their sloppy routines.  - ben hyde

View raw message