Fix a crash when trying to do anything useful in GOK.

Obtained from:	GNOME CVS
This commit is contained in:
Joe Marcus Clarke 2006-05-13 22:53:25 +00:00
parent 29b5d7222b
commit e534360e30
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=162266
2 changed files with 14 additions and 0 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= gok
PORTVERSION= 1.0.8
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= accessibility sysutils gnome
MASTER_SITES= ${MASTER_SITE_GNOME}

View file

@ -0,0 +1,13 @@
--- gok/gok-spy.c.orig Sat May 13 18:49:18 2006
+++ gok/gok-spy.c Sat May 13 18:49:30 2006
@@ -1406,10 +1406,7 @@ gok_spy_resolve_namesakes (GSList *list)
GSList *namesake;
gboolean distinguished_source = FALSE;
- name[63] = '\0';
-
if (resolve_namesakes_reentry_guard) return;
-
else resolve_namesakes_reentry_guard = TRUE;
gok_log_enter ();