1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices Coding] irc_stricmp()
6 <LINK REL=
"Index" HREF=
"index.html" >
7 <LINK REL=
"made" HREF=
"mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20irc_stricmp%28%29&In-Reply-To=3c5ce796.71211%40achurch.org">
8 <META NAME=
"robots" CONTENT=
"index,nofollow">
9 <META http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
10 <LINK REL=
"Previous" HREF=
"000177.html">
11 <LINK REL=
"Next" HREF=
"000179.html">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices Coding] irc_stricmp()
</H1>
16 <A HREF=
"mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20irc_stricmp%28%29&In-Reply-To=3c5ce796.71211%40achurch.org"
17 TITLE=
"[IRCServices Coding] irc_stricmp()">eengin at talesoft.de
19 <I>Sat Feb
2 23:
43:
54 PST
2002</I>
21 <LI>Previous message:
<A HREF=
"000177.html">[IRCServices Coding] irc_stricmp()
23 <LI>Next message:
<A HREF=
"000179.html">[IRCServices Coding] Services
5.0 alpha
18 released
25 <LI> <B>Messages sorted by:
</B>
26 <a href=
"date.html#178">[ date ]
</a>
27 <a href=
"thread.html#178">[ thread ]
</a>
28 <a href=
"subject.html#178">[ subject ]
</a>
29 <a href=
"author.html#178">[ author ]
</a>
34 <PRE>Some older Digital-Alpha-OSF
3.1 Systems (pre bulid
483) don't have both
35 functions by default...
39 Ekim
"Talesin
" Engin
41 PGP-Fingerprint:
8627 180C
1397 34FB
6BB0
8B65
9CBF
8ED5
456C
48F9
43 Chat begins as it ends - without reason
46 ><i> -----Original Message-----
47 </I>><i> From:
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">ircservices-coding-admin at ircservices.za.net
</A>
48 </I>><i> [mailto:
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">ircservices-coding-admin at ircservices.za.net
</A>] On
49 </I>><i> Behalf Of Andrew Church
50 </I>><i> Sent: Sunday, February
03,
2002 8:
30 AM
51 </I>><i> To:
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">ircservices-coding at ircservices.za.net
</A>
52 </I>><i> Subject: Re: [IRCServices Coding] irc_stricmp()
55 </I>><i> >On Sun,
3 Feb
2002, Andrew Church wrote:
57 </I>><i> >> > I've been rather curious about IRCServices' irc_stricmp
58 </I>><i> >> >function. What does it do that the regular stricmp() doesn't, and
59 </I>><i> >> >could it be replaced safely with stricmp?
61 </I>><i> >> (
1) stricmp() is (potentially) locale-dependent, and could
62 </I>><i> >> conceivably behave incorrectly in certain locales.
64 </I>><i> >> (
2) RFC1459-compliant ircds treat [ and {, \ and |, ]
66 </I>><i> >> pairwise equivalent; stricmp() doesn't.
68 </I>><i> >I'd also like to point out that many systems don't *have* stricmp
70 </I>><i> Well, they _do_ have strcasecmp() which is the same
71 </I>><i> thing (and actually POSIX, I think)--I just like
"stricmp
"
72 </I>><i> because (
1) it's shorter and (
2)
"strcasecmp
" sounds like
73 </I>><i> "case-sensitive string compare
" which is wrong.
75 </I>><i> Out of curiosity, are there any systems that don't have
76 </I>><i> either function?
78 </I>><i> --Andrew Church
79 </I>><i> <A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org
</A>
80 </I>><i> <A HREF=
"http://achurch.org/">http://achurch.org/
</A>
81 </I>><i> ------------------------------------------------------------------
82 </I>><i> To unsubscribe or change your subscription options, visit:
83 </I>><i> <A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircser">http://www.ircservices.za.net/mailman/listinfo/ircser
</A>> vices-coding
94 <LI>Previous message:
<A HREF=
"000177.html">[IRCServices Coding] irc_stricmp()
96 <LI>Next message:
<A HREF=
"000179.html">[IRCServices Coding] Services
5.0 alpha
18 released
98 <LI> <B>Messages sorted by:
</B>
99 <a href=
"date.html#178">[ date ]
</a>
100 <a href=
"thread.html#178">[ thread ]
</a>
101 <a href=
"subject.html#178">[ subject ]
</a>
102 <a href=
"author.html#178">[ author ]
</a>