]> jfr.im git - irc.git/blob - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices/2001/002132.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices / 2001 / 002132.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices] Gcc 3 and services.
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Gcc%203%20and%20services.&In-Reply-To=3ab965b4.35177%40prima-lan.net">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="001755.html">
11 <LINK REL="Next" HREF="001670.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices] Gcc 3 and services.</H1>
15 <B>dreamer at darkness.gr</B>
16 <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Gcc%203%20and%20services.&In-Reply-To=3ab965b4.35177%40prima-lan.net"
17 TITLE="[IRCServices] Gcc 3 and services.">dreamer at darkness.gr
18 </A><BR>
19 <I>Sat Jul 14 22:35:02 PDT 2001</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="001755.html">[IRCServices] Services 4.5.11 released
22 </A></li>
23 <LI>Next message: <A HREF="001670.html">[IRCServices] Bug Report, forbidden channel dropped by founder
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#2132">[ date ]</a>
27 <a href="thread.html#2132">[ thread ]</a>
28 <a href="subject.html#2132">[ subject ]</a>
29 <a href="author.html#2132">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>Greetings all,
35
36 Problem:
37 -------
38 Installing gcc 3 i notice a strange behaviour at the services.
39 The problem is specified at two functions inside misc.c. The functions
40 are strupper and strlower. The exact problem is at:
41
42 char *strupper(char *s)
43 {
44 char *t = s;
45 while (*t)
46 *t++ = toupper(*t); &lt;-
47 return s;
48 }
49
50
51 According ANSI C spec, &quot;... C expressions can contain side effects,
52 issues of sequencing are important in expression evaluation.&quot; (2.1.2.3)
53
54 Results:
55 -------
56 The result of this code is to have &quot;random&quot; effects while using services.
57
58 Example:
59 -------
60 /quote version services.test.irc.gr
61 11:25 ## Server services.TEST.irc.gr: ircservices-4.5.21 build #1,
62 compiled Sat Jul 14 23:01:42 EEST 2001
63
64 /msg operserv akill add <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">doe at joe.com</A> doe 1
65
66 11:15 &gt;&gt; [ operserv ] akill add <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">doe at joe.com</A> doe 1
67 11:15 - OperServ!<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">services at irc.gr</A> - e@@oe.com added to AKILL list.
68 11:15 %G% OperServ: Dinos added an AKILL for e@@oe.com (expires in 30
69 days)
70
71 /msg operserv akill list
72
73 11:26 - OperServ!<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">services at irc.gr</A> - e@@oe.com doe 1
74
75
76 Solution:
77 --------
78 I guess strupper and strlower should be rebuid. For those looking for one
79 fast solution, i can post one.
80
81 If i'm wrong, correct me :)
82
83
84 Regards,
85 Nick Krassas
86 Dinos @irc.gr
87
88
89 </PRE>
90
91 <!--endarticle-->
92 <HR>
93 <P><UL>
94 <!--threads-->
95 <LI>Previous message: <A HREF="001755.html">[IRCServices] Services 4.5.11 released
96 </A></li>
97 <LI>Next message: <A HREF="001670.html">[IRCServices] Bug Report, forbidden channel dropped by founder
98 </A></li>
99 <LI> <B>Messages sorted by:</B>
100 <a href="date.html#2132">[ date ]</a>
101 <a href="thread.html#2132">[ thread ]</a>
102 <a href="subject.html#2132">[ subject ]</a>
103 <a href="author.html#2132">[ author ]</a>
104 </LI>
105 </UL>
106
107 </body></html>