diff options
author | Jingdong Lu <jingdong.lu@windriver.com> | 2010-09-25 15:04:47 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-10 23:13:00 +0000 |
commit | 56c897d8d0a31aba4c887eacdd3dbe1ee2d368a1 (patch) | |
tree | 7ad9952f3d82ab50fbf35bd93fac929d256147a4 /meta/recipes-extended/texinfo/texinfo-4.13a/texinfo-4.13a-help-index-segfault.patch | |
parent | 47a1f50d17e217d8d9dd5d1074449369defbea65 (diff) | |
download | poky-56c897d8d0a31aba4c887eacdd3dbe1ee2d368a1.tar.gz |
texinfo: Add new package
Texinfo is a documentation system that can produce both online information
and printed output from a single source file.
Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
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.patch | 23 |
1 files changed, 23 insertions, 0 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 new file mode 100644 index 0000000000..6194176db6 --- /dev/null +++ b/meta/recipes-extended/texinfo/texinfo-4.13a/texinfo-4.13a-help-index-segfault.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | diff -up texinfo-4.13/info/indices.c.orig texinfo-4.13/info/indices.c | ||
2 | --- texinfo-4.13/info/indices.c.orig 2010-08-31 12:04:38.317462471 +0200 | ||
3 | +++ texinfo-4.13/info/indices.c 2010-08-31 12:11:49.322624552 +0200 | ||
4 | @@ -192,6 +192,7 @@ do_info_index_search (WINDOW *window, in | ||
5 | index for, build and remember an index now. */ | ||
6 | fb = file_buffer_of_window (window); | ||
7 | if (!initial_index_filename || | ||
8 | + !fb || | ||
9 | (FILENAME_CMP (initial_index_filename, fb->filename) != 0)) | ||
10 | { | ||
11 | info_free_references (index_index); | ||
12 | @@ -287,8 +288,9 @@ index_entry_exists (WINDOW *window, char | ||
13 | return 0; | ||
14 | |||
15 | fb = file_buffer_of_window (window); | ||
16 | - if (!initial_index_filename | ||
17 | - || (FILENAME_CMP (initial_index_filename, fb->filename) != 0)) | ||
18 | + if (!initial_index_filename || | ||
19 | + !fb || | ||
20 | + (FILENAME_CMP (initial_index_filename, fb->filename) != 0)) | ||
21 | { | ||
22 | info_free_references (index_index); | ||
23 | index_index = info_indices_of_file_buffer (fb); | ||