]> jfr.im git - irc.git/blob - software/RELEASES/ircservices/achurch.org/services/lists/ircservices-coding/2002/000178.html
rename -> *.git
[irc.git] / software / RELEASES / ircservices / achurch.org / services / lists / ircservices-coding / 2002 / 000178.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices Coding] irc_stricmp()
5 </TITLE>
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">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices Coding] irc_stricmp()</H1>
15 <B>Ekim Engin</B>
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
18 </A><BR>
19 <I>Sat Feb 2 23:43:54 PST 2002</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="000177.html">[IRCServices Coding] irc_stricmp()
22 </A></li>
23 <LI>Next message: <A HREF="000179.html">[IRCServices Coding] Services 5.0 alpha 18 released
24 </A></li>
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>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>Some older Digital-Alpha-OSF 3.1 Systems (pre bulid 483) don't have both
35 functions by default...
36
37 Greets
38
39 Ekim &quot;Talesin&quot; Engin
40
41 PGP-Fingerprint: 8627 180C 1397 34FB 6BB0 8B65 9CBF 8ED5 456C 48F9
42 ---
43 Chat begins as it ends - without reason
44
45
46 &gt;<i> -----Original Message-----
47 </I>&gt;<i> From: <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">ircservices-coding-admin at ircservices.za.net</A>
48 </I>&gt;<i> [mailto:<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">ircservices-coding-admin at ircservices.za.net</A>] On
49 </I>&gt;<i> Behalf Of Andrew Church
50 </I>&gt;<i> Sent: Sunday, February 03, 2002 8:30 AM
51 </I>&gt;<i> To: <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">ircservices-coding at ircservices.za.net</A>
52 </I>&gt;<i> Subject: Re: [IRCServices Coding] irc_stricmp()
53 </I>&gt;<i>
54 </I>&gt;<i>
55 </I>&gt;<i> &gt;On Sun, 3 Feb 2002, Andrew Church wrote:
56 </I>&gt;<i> &gt;
57 </I>&gt;<i> &gt;&gt; &gt; I've been rather curious about IRCServices' irc_stricmp
58 </I>&gt;<i> &gt;&gt; &gt;function. What does it do that the regular stricmp() doesn't, and
59 </I>&gt;<i> &gt;&gt; &gt;could it be replaced safely with stricmp?
60 </I>&gt;<i> &gt;&gt;
61 </I>&gt;<i> &gt;&gt; (1) stricmp() is (potentially) locale-dependent, and could
62 </I>&gt;<i> &gt;&gt; conceivably behave incorrectly in certain locales.
63 </I>&gt;<i> &gt;&gt;
64 </I>&gt;<i> &gt;&gt; (2) RFC1459-compliant ircds treat [ and {, \ and |, ]
65 </I>&gt;<i> and } as
66 </I>&gt;<i> &gt;&gt; pairwise equivalent; stricmp() doesn't.
67 </I>&gt;<i> &gt;
68 </I>&gt;<i> &gt;I'd also like to point out that many systems don't *have* stricmp
69 </I>&gt;<i>
70 </I>&gt;<i> Well, they _do_ have strcasecmp() which is the same
71 </I>&gt;<i> thing (and actually POSIX, I think)--I just like &quot;stricmp&quot;
72 </I>&gt;<i> because (1) it's shorter and (2) &quot;strcasecmp&quot; sounds like
73 </I>&gt;<i> &quot;case-sensitive string compare&quot; which is wrong.
74 </I>&gt;<i>
75 </I>&gt;<i> Out of curiosity, are there any systems that don't have
76 </I>&gt;<i> either function?
77 </I>&gt;<i>
78 </I>&gt;<i> --Andrew Church
79 </I>&gt;<i> <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org</A>
80 </I>&gt;<i> <A HREF="http://achurch.org/">http://achurch.org/</A>
81 </I>&gt;<i> ------------------------------------------------------------------
82 </I>&gt;<i> To unsubscribe or change your subscription options, visit:
83 </I>&gt;<i> <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircser">http://www.ircservices.za.net/mailman/listinfo/ircser</A>&gt; vices-coding
84 </I>&gt;<i>
85 </I>
86
87
88 </PRE>
89
90 <!--endarticle-->
91 <HR>
92 <P><UL>
93 <!--threads-->
94 <LI>Previous message: <A HREF="000177.html">[IRCServices Coding] irc_stricmp()
95 </A></li>
96 <LI>Next message: <A HREF="000179.html">[IRCServices Coding] Services 5.0 alpha 18 released
97 </A></li>
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>
103 </LI>
104 </UL>
105
106 </body></html>