]>
Commit | Line | Data |
---|---|---|
3bd189cb JR |
1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> |
2 | <HTML> | |
3 | <HEAD> | |
4 | <TITLE> [IRCServices] Seg fault! on ircservices-4.5pre6 | |
5 | </TITLE> | |
6 | <LINK REL="Index" HREF="index.html" > | |
7 | <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Seg%20fault%21%20on%20ircservices-4.5pre6&In-Reply-To="> | |
8 | <META NAME="robots" CONTENT="index,nofollow"> | |
9 | <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> | |
10 | <LINK REL="Previous" HREF="001426.html"> | |
11 | <LINK REL="Next" HREF="001428.html"> | |
12 | </HEAD> | |
13 | <BODY BGCOLOR="#ffffff"> | |
14 | <H1>[IRCServices] Seg fault! on ircservices-4.5pre6</H1> | |
15 | <B>Andrew Church</B> | |
16 | <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Seg%20fault%21%20on%20ircservices-4.5pre6&In-Reply-To=" | |
17 | TITLE="[IRCServices] Seg fault! on ircservices-4.5pre6">achurch at achurch.org | |
18 | </A><BR> | |
19 | <I>Fri Feb 16 06:53:20 PST 2001</I> | |
20 | <P><UL> | |
21 | <LI>Previous message: <A HREF="001426.html">[IRCServices] Seg fault! on ircservices-4.5pre6 | |
22 | </A></li> | |
23 | <LI>Next message: <A HREF="001428.html">[IRCServices] Seg fault! on ircservices-4.5pre6 | |
24 | </A></li> | |
25 | <LI> <B>Messages sorted by:</B> | |
26 | <a href="date.html#1427">[ date ]</a> | |
27 | <a href="thread.html#1427">[ thread ]</a> | |
28 | <a href="subject.html#1427">[ subject ]</a> | |
29 | <a href="author.html#1427">[ author ]</a> | |
30 | </LI> | |
31 | </UL> | |
32 | <HR> | |
33 | <!--beginarticle--> | |
34 | <PRE>><i>This plagues every version of ircservices that ive used. This ver is = | |
35 | </I>><i>ircservices-4.5pre6 | |
36 | </I>><i>Ive tried on multiple boxes, but they are all RH 7.0 | |
37 | </I> | |
38 | That's your problem; RedHat 7.0 uses a buggy libc. Downgrade to | |
39 | 6.2 or use a different distribution. (Alternatively, edit sysconf.h | |
40 | after running configure and set HAVE_STRTOK to 0; the configure | |
41 | script should detect this, but doesn't for some reason. I suspect my | |
42 | test method is bad.) | |
43 | ||
44 | ><i>i was taught to shy away from strtok | |
45 | </I> | |
46 | Then you were taught wrong. There's nothing wrong with using | |
47 | strtok() as long as you know what it does--in particular, that it | |
48 | modifies its string parameter. It's just like strcpy() and friends; | |
49 | perfectly safe as long as you use it properly. | |
50 | ||
51 | --Andrew Church | |
52 | <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org</A> | New address - please note. | |
53 | <A HREF="http://achurch.org/">http://achurch.org/</A> | \e$B%a!<%k%"%I%l%9$,JQ$o$j$^$7$?!#\e(B | |
54 | ||
55 | ||
56 | </PRE> | |
57 | ||
58 | <!--endarticle--> | |
59 | <HR> | |
60 | <P><UL> | |
61 | <!--threads--> | |
62 | <LI>Previous message: <A HREF="001426.html">[IRCServices] Seg fault! on ircservices-4.5pre6 | |
63 | </A></li> | |
64 | <LI>Next message: <A HREF="001428.html">[IRCServices] Seg fault! on ircservices-4.5pre6 | |
65 | </A></li> | |
66 | <LI> <B>Messages sorted by:</B> | |
67 | <a href="date.html#1427">[ date ]</a> | |
68 | <a href="thread.html#1427">[ thread ]</a> | |
69 | <a href="subject.html#1427">[ subject ]</a> | |
70 | <a href="author.html#1427">[ author ]</a> | |
71 | </LI> | |
72 | </UL> | |
73 | ||
74 | </body></html> |