[OSM-talk] gosmore crashes after a few searches
Petter Reinholdtsen
pere at hungry.com
Sat Sep 1 10:50:44 BST 2007
[Martijn van Oosterhout]
> See if that helps,
It helped. This patch solve the problem:
Index: gosmore.cc
===================================================================
--- gosmore.cc (revision 4389)
+++ gosmore.cc (working copy)
@@ -620,7 +620,7 @@
if (strcmp (w->name + data, last)) {
last = w->name + data;
- if (!i) len += strlen (last);
+ if (!i) len += strlen (last) + 1;
else len += sprintf (msg + len, "%s\n", last);
}
}
I've applied it to svn.
gosmore now have 31 registered users in Debian. Check
<URL:http://qa.debian.org/popcon.php?package=gosmore> for the latest
usage count. :)
Happy hacking,
--
Petter Reinholdtsen
More information about the talk
mailing list