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

From: Chris Gilbert (chris@buzzbee.freeserve.co.uk)
Date: 08/13/00


Blaize wrote:
>
> Torgny Bjers Wrote:
>
> >section of the Ceramic Mouse site, and I get an unresolved external symbol:
> >_strcasecmp ...
>
> Well, strcasecmp compares different cases of one argument with the other
> argument...so !strcasecmp(arg, "debug") would be equivalent to
> !strcmp(arg, "debug") || !strcmp(arg, "Debug")

I believe what you reall want is str_cmp, it's a func in utils.c.  Note
that the above wouldn't cover all cases, only debug and Debug (not
dEbug, and the other 29 possibities for capitalisation ;)

> Btw...just got on mailing list today, so hi all.

Welcome, dare I ask if you've read the FAQ for the list (ooh,
pre-emptive read the FAQ ;)

Chris


     +------------------------------------------------------------+
     | 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