cURL / Mailing Lists / curl-library / Single Mail

curl-library

Problem with strcasecmp

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 7 Oct 2004 12:14:40 -0700

I discovered a problem compiling the curl tests on a platform without
a case-insensitive string comparision function. tests/server/sws.c assumes
strncasecmp (or strnicmp on Windows) exists and fails to compile.
lib/strequal.c provides replacement functions for all platforms for use
within libcurl, but they're not used in sws.c. Also, there's still a
call to strncasecmp in lib/security.c instead of the safe curl-provided
version.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2004-10-07