info:gcc bugfix



Looks like some info pages (like one for gcc) use (DIR) instead of
(dir), which causes a blowup in node2page. I've both fixed the problem
(don't know if it's THE correct solution, but it seems to work), and
added an error message for broken links.

ChangeLog:
 * make comparisons with "(dir)" case-insensitive
 * g_error for missing nodes in node2page
 * added initialization of nodes2offsets, so that when there's no
PAGE_TAG_TABLE, the crash is less mysterious (it also silences a
compile-time warning)
 * added assertion for nodes2offsets (so that the
lack of PAGE_TAG_TABLE is more evident)

Hope it's OK, first patch and all :)

Krzysztof

Attachment: yelp-gcc.patch
Description: Binary data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]