Re: [CODE] clan.patch found in contrib/code/

From: Shay (shay@unique-software.com)
Date: 08/13/00


At 10:05 PM 8/13/2000 Sunday, you wrote:
>Hello again,
>
>I am trying to compile my bpl17 with the clan.patch found in the contib/code
>section of the Ceramic Mouse site, and I get an unresolved external symbol:
>_strcasecmp ...
>
>Obviously this must be a remnant from bpl11 or something?  What can I
>replace this with to make it work?
>
>In the code the look like this:
>
>---snip---
>+   if (strcasecmp(subbcmd, "debug") == 0)
>+   {
>---snip---


strcmp() will work, but its not case insensitive i believe.  look at
interpreter.c and you
can see some examples, or if you use pfiles, theres some in db.c

Shay aka Gothic


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/11/01 PDT