From b8cccc78d24296fe06ad80cb1bb9acf086086f1e Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Mon, 20 May 2002 21:52:57 +0000 Subject: Fix a segmentation fault trying to build a list of info files. --- x11/yelp/files/patch-src_yelp-info.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 x11/yelp/files/patch-src_yelp-info.c (limited to 'x11/yelp/files') diff --git a/x11/yelp/files/patch-src_yelp-info.c b/x11/yelp/files/patch-src_yelp-info.c new file mode 100644 index 000000000000..6013c2faf2af --- /dev/null +++ b/x11/yelp/files/patch-src_yelp-info.c @@ -0,0 +1,19 @@ +--- src/yelp-info.c.orig Mon May 20 17:53:50 2002 ++++ src/yelp-info.c Mon May 20 17:54:27 2002 +@@ -105,7 +105,6 @@ + struct stat stat_dir2; + GSList *info_list = NULL; + GSList *node; +- YelpSection *section; + gchar **infopathes; + gchar *infopath; + gint i; +@@ -141,7 +140,7 @@ + + for (node = info_list; node; node = node->next) { + g_node_append_data (root, node->data); +- *index = g_list_prepend (*index, section); ++ *index = g_list_prepend (*index, node->data); + } + + g_slist_free (info_list); -- cgit v1.2.3