[IRCServices Coding] irc_stricmp()

Finny Merrill griever at t2n.org
Sat Feb 2 23:18:20 PST 2002


On Sun, 3 Feb 2002, Andrew Church wrote:

> >    I've been rather curious about IRCServices' irc_stricmp function. What
> >does it do that the regular stricmp() doesn't, and could it be replaced
> >safely with stricmp?
> 
>      (1) stricmp() is (potentially) locale-dependent, and could conceivably
> behave incorrectly in certain locales.
> 
>      (2) RFC1459-compliant ircds treat [ and {, \ and |, ] and } as
> pairwise equivalent; stricmp() doesn't.

I'd also like to point out that many systems don't *have* stricmp
> 
>   --Andrew Church
>     achurch at achurch.org
>     http://achurch.org/
> ------------------------------------------------------------------
> To unsubscribe or change your subscription options, visit:
> http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
>