summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/texinfo/texinfo-4.13a/texinfo-4.13a-help-index-segfault.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/texinfo/texinfo-4.13a/texinfo-4.13a-help-index-segfault.patch')
-rw-r--r--meta/recipes-extended/texinfo/texinfo-4.13a/texinfo-4.13a-help-index-segfault.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/meta/recipes-extended/texinfo/texinfo-4.13a/texinfo-4.13a-help-index-segfault.patch b/meta/recipes-extended/texinfo/texinfo-4.13a/texinfo-4.13a-help-index-segfault.patch
deleted file mode 100644
index aee21ffec1..0000000000
--- a/meta/recipes-extended/texinfo/texinfo-4.13a/texinfo-4.13a-help-index-segfault.patch
+++ /dev/null
@@ -1,25 +0,0 @@
1Upstream-Status: Pending
2
3diff -up texinfo-4.13/info/indices.c.orig texinfo-4.13/info/indices.c
4--- texinfo-4.13/info/indices.c.orig 2010-08-31 12:04:38.317462471 +0200
5+++ texinfo-4.13/info/indices.c 2010-08-31 12:11:49.322624552 +0200
6@@ -192,6 +192,7 @@ do_info_index_search (WINDOW *window, in
7 index for, build and remember an index now. */
8 fb = file_buffer_of_window (window);
9 if (!initial_index_filename ||
10+ !fb ||
11 (FILENAME_CMP (initial_index_filename, fb->filename) != 0))
12 {
13 info_free_references (index_index);
14@@ -287,8 +288,9 @@ index_entry_exists (WINDOW *window, char
15 return 0;
16
17 fb = file_buffer_of_window (window);
18- if (!initial_index_filename
19- || (FILENAME_CMP (initial_index_filename, fb->filename) != 0))
20+ if (!initial_index_filename ||
21+ !fb ||
22+ (FILENAME_CMP (initial_index_filename, fb->filename) != 0))
23 {
24 info_free_references (index_index);
25 index_index = info_indices_of_file_buffer (fb);