httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@covalent.net
Subject Re: cvs commit: apache-2.0/src/lib/apr/include apr.h.in
Date Sun, 11 Jun 2000 17:17:14 GMT

> Actually, this points out something weird:
> 
> why does APR define STRICMP *and* STRCASECMP? shouldn't we decide on one or
> the other and stick with that one?
> 
> IIRC, the "exported" form is strcasecmp()

Actually, APR does export strcasecmp.  APR checks for atricmp, so that it
can redefine it to strcasecmp in cases where the platform provides stricmp
but not strcasecmp.  Think Windows, this is a valid example of a platform
that is broken it this way.

Ryan

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message