Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-mud/kmuddy/files: kmuddy-0.8-nocrash.patch
Date: Sun, 14 Oct 2007 22:17:16
Message-Id: E1IhBc1-0006Mz-IV@stork.gentoo.org
1 mr_bones_ 07/10/14 22:07:05
2
3 Added: kmuddy-0.8-nocrash.patch
4 Log:
5 add patch from Tanktalus@×××××.com to fix random crash (bug #190363)
6 (Portage version: 2.1.3.9)
7
8 Revision Changes Path
9 1.1 games-mud/kmuddy/files/kmuddy-0.8-nocrash.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-mud/kmuddy/files/kmuddy-0.8-nocrash.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-mud/kmuddy/files/kmuddy-0.8-nocrash.patch?rev=1.1&content-type=text/plain
13
14 Index: kmuddy-0.8-nocrash.patch
15 ===================================================================
16 diff -ru kmuddy-0.8/kmuddy/cmxpmanager.cpp kmuddy-0.8.patch/kmuddy/cmxpmanager.cpp
17 --- kmuddy-0.8/kmuddy/cmxpmanager.cpp 2006-10-12 02:47:23.000000000 -0600
18 +++ kmuddy-0.8.patch/kmuddy/cmxpmanager.cpp 2007-08-26 22:05:44.000000000 -0600
19 @@ -134,7 +134,7 @@
20 if (s && (strcmp (s, "\r\n") == 0)) //newlines are always sent separately
21 emit gotNewLine ();
22 else
23 - if ((s[0] == 0x1f) && (s[1] == '\0'))
24 + if (s && (s[0] == 0x1f) && (s[1] == '\0'))
25 //<SBR> tag - ignored - converted into a space
26 emit gotNewText (QString (" "));
27 else
28 Only in kmuddy-0.8.patch/kmuddy: cmxpmanager.cpp~
29
30
31
32 --
33 gentoo-commits@g.o mailing list