> FIrst: What do you get when you make
> man Top
No manual entry for Top.
> And I assume that this returns the manpage for Top, which is here on my
> system the same as man top.
Sounds right to me.
I'm just guessing, since I still can't reproduce this bug any more, but
how about this (checked in to cvs):
--- nodes.c.~1.6.~ 2006-02-23 16:29:45.000000000 -0800
+++ nodes.c 2006-02-25 15:04:41.000000000 -0800
@@ -141,4 +141,5 @@
{
NODE *node = NULL;
+ int implicit_nodename = 0;
/* If we are unable to find the file, we have to give up. There isn't
@@ -153,5 +154,8 @@
/* If NODENAME is not specified, it defaults to "Top". */
if (!nodename)
- nodename = "Top";
+ {
+ nodename = "Top";
+ implicit_nodename = 1;
+ }
/* If the name of the node that we wish to find is exactly "*", then the
@@ -172,7 +176,7 @@
/* If the file buffer is the magic one associated with manpages, call
the manpage node finding function instead. */
- else if (file_buffer->flags & N_IsManPage)
+ else if (!implicit_nodename && file_buffer->flags & N_IsManPage)
{
- node = get_manpage_node (file_buffer, nodename);
+ node = get_manpage_node (file_buffer, nodename);
}
#endif /* HANDLE_MAN_PAGES */
_______________________________________________
Texinfo home page: http://www.gnu.org/software/texinfo/
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-texinfo