[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug reports for texinfo (and 2 wishes)
From: |
Norbert Preining |
Subject: |
Re: Bug reports for texinfo (and 2 wishes) |
Date: |
Thu, 16 Feb 2006 12:26:27 +0100 |
User-agent: |
Mutt/1.3.28i |
Hi Karl!
[my brains is twisted from following with gdb the course of info ...]
On Mon, 13 Feb 2006, Karl Berry wrote:
> However, messing around with gdb, I surmise that the man page was being
> generated by this code at the end of info_get_node:
> See if that works for you ... (it's in CVS now)
Unfortunately not. BUt I believe that I found the reason:
FIrst: What do you get when you make
man Top
Second: I believe that the man page is created in the line BEFORE the
changed stuff, so here:
/* Look for the node. */
node = info_get_node_of_file_buffer (nodename, file_buffer);
/* If the node not found was "Top", try again with different case,
unless this was a man page. */
if (!node
&& strcasecmp (filename, MANPAGE_FILE_BUFFER_NAME) != 0
&& (nodename == NULL || strcasecmp (nodename, "Top") == 0))
in the
node = info_get_node_of_file_buffer (nodename, file_buffer);
nodename = NULL
file_buffer is something strange
from this we enter info_get_node_of_file_buffer where
nodename = "Top"
because it was NULL, and then
get_manpage_node (file_buffer, "Top")
is called.
And I assume that this returns the manpage for Top, which is here on my
system the same as man top.
> (Is it just me, or is this code really hard to follow?)
REALLY HARD!
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at> Università di Siena
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
BLITTERLESS
The little slivers of bamboo picked off a cane chair by a nervous
guest which litter the carpet beneath and tell the chair's owner that
the whole piece of furniture is about to uncoil terribly and slowly
until it resembles a giant pencil sharpening.
--- Douglas Adams, The Meaning of Liff
- Re: Bug reports for texinfo (and 2 wishes), (continued)
- 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, 2006/02/13
- Re: Bug reports for texinfo (and 2 wishes), Eli Zaretskii, 2006/02/13
- Re: Bug reports for texinfo (and 2 wishes),
Norbert Preining <=
- 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
Re: Bug reports for texinfo (and 2 wishes), Norbert Preining, 2006/02/06