delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/03/16/13:43:21

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Date: Sat, 16 Mar 2002 20:39:41 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: pjfarley AT dorsai DOT org
Message-Id: <3995-Sat16Mar2002203941+0200-eliz@is.elta.co.il>
X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp-workers AT delorie DOT com
In-reply-to: <5.1.0.14.2.20020313202315.027f4ec0@mail.dorsai.org>
(pjfarley AT dorsai DOT org)
Subject: Re: Need help with @xref for dir.txi
References: <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020313090132 DOT 026d5600 AT mail DOT dorsai DOT org>
<3C8EDEC6 DOT 70D6E6C8 AT dorsai DOT org>
<5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020313090132 DOT 026d5600 AT mail DOT dorsai DOT org> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020313202315 DOT 027f4ec0 AT mail DOT dorsai DOT org>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Wed, 13 Mar 2002 20:24:51 -0500
> From: "Peter J. Farley III" <pjfarley AT dorsai DOT org>
> 
>  >> Should I try building 4.1 from GNU sources?
>  >
>  >Don't bother: I already tried the 4.1 binary, and I see the same
>  >behavior as you do.  I will look into this this weekend.
> 
> OK, I'll wait for your review.

It turned to be a subtle bug in makeinfo; patch below.  The next
version will be free of this bug.

Thanks for reporting this.


2002-03-16  Eli Zaretskii  <eliz AT is DOT elta DOT co DOT il>

	* makeinfo/node.c (cm_anchor): When recording the anchor position,
	account for output_paragraph_offset, since the current paragraph
	might not be closed yet (happens inside a menu, for example).


--- makeinfo/node.c~0	Sat Feb 23 21:12:18 2002
+++ makeinfo/node.c	Sat Mar 16 16:08:50 2002
@@ -1149,7 +1149,8 @@ cm_anchor (arg)
       xml_insert_element (ANCHOR, END);
     }
   /* Save it in the tag table.  */
-  remember_node (anchor, NULL, NULL, NULL, output_position + output_column,
+  remember_node (anchor, NULL, NULL, NULL,
+                 output_position + output_paragraph_offset,
                  line_number, fname_for_anchor, TAG_FLAG_ANCHOR);
 }
 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019