[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug reports for texinfo (and 2 wishes)
From: |
Karl Berry |
Subject: |
Re: Bug reports for texinfo (and 2 wishes) |
Date: |
Mon, 13 Feb 2006 18:27:38 -0600 |
> Attached dir.gz
Was missing
I still get the error message instead of the top man page. Using
INFOPATH=~/tmp ./ginfo ./foobar
However, messing around with gdb, I surmise that the man page was being
generated by this code at the end of info_get_node:
/* If the node not found was "Top", try again with different case. */
if (!node && (nodename == NULL || strcasecmp (nodename, "Top") == 0))
{
node = info_get_node_of_file_buffer ("Top", file_buffer);
if (!node)
node = info_get_node_of_file_buffer ("top", file_buffer);
if (!node)
node = info_get_node_of_file_buffer ("TOP", file_buffer);
}
With a cmdline arg of "./foobar", there is no nodename.
So this first tries man Top (nothing), and then man top (something).
(I don't understand why I didn't get the top man page.)
So I changed it to avoid all those subcalls if we are doing man pages:
if (!node
&& strcasecmp (filename, MANPAGE_FILE_BUFFER_NAME) != 0
&& (nodename == NULL || strcasecmp (nodename, "Top") == 0))
See if that works for you ... (it's in CVS now)
(Is it just me, or is this code really hard to follow?)
Thanks,
k
- Re: Bug reports for texinfo (and 2 wishes), (continued)
- Re: Bug reports for texinfo (and 2 wishes), Norbert Preining, 2006/02/06
- Re: Bug reports for texinfo (and 2 wishes), Karl Berry, 2006/02/06
- Re: Bug reports for texinfo (and 2 wishes), Norbert Preining, 2006/02/07
- Re: Bug reports for texinfo (and 2 wishes), Norbert Preining, 2006/02/07
- Re: Bug reports for texinfo (and 2 wishes), Karl Berry, 2006/02/10
- Re: Bug reports for texinfo (and 2 wishes), Karl Berry, 2006/02/11
- Re: Bug reports for texinfo (and 2 wishes), Eli Zaretskii, 2006/02/11
- Re: Bug reports for texinfo (and 2 wishes), Karl Berry, 2006/02/12
- Re: Bug reports for texinfo (and 2 wishes), Norbert Preining, 2006/02/13
- Re: Bug reports for texinfo (and 2 wishes), Norbert Preining, 2006/02/13
- Re: Bug reports for texinfo (and 2 wishes),
Karl Berry <=
- Re: Bug reports for texinfo (and 2 wishes), Eli Zaretskii, 2006/02/13
- Re: Bug reports for texinfo (and 2 wishes), Norbert Preining, 2006/02/16
- Re: Bug reports for texinfo (and 2 wishes), Norbert Preining, 2006/02/24
- Re: Bug reports for texinfo (and 2 wishes), Stepan Kasal, 2006/02/25
- Re: Bug reports for texinfo (and 2 wishes), Norbert Preining, 2006/02/25
- Re: Bug reports for texinfo (and 2 wishes), Karl Berry, 2006/02/25
- Re: Bug reports for texinfo (and 2 wishes), Stepan Kasal, 2006/02/25
- Re: Bug reports for texinfo (and 2 wishes), Karl Berry, 2006/02/25
- Re: Bug reports for texinfo (and 2 wishes), Karl Berry, 2006/02/25
- Re: Bug reports for texinfo (and 2 wishes), Norbert Preining, 2006/02/26