diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-05-20 21:52:57 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-05-20 21:52:57 +0000 |
commit | b8cccc78d24296fe06ad80cb1bb9acf086086f1e (patch) | |
tree | c4c43268189c8db5888f53c7281a5858b04ec38f /x11/yelp/files | |
parent | Update japanese patch and bump PORTREVISION. (diff) |
Fix a segmentation fault trying to build a list of info files.
Notes
Notes:
svn path=/head/; revision=59561
Diffstat (limited to 'x11/yelp/files')
-rw-r--r-- | x11/yelp/files/patch-src_yelp-info.c | 19 |
1 files changed, 19 insertions, 0 deletions
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); |