From xemacs-m  Fri May  9 21:17:56 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id VAA13849
	for <xemacs-beta@xemacs.org>; Fri, 9 May 1997 21:17:55 -0500 (CDT)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id TAA32439;
	Fri, 9 May 1997 19:19:18 -0700
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: [REPOST] makeinfo-1.67 patch (was Re: makeinfo fails)
References: <87sozwoz4m.fsf@sbt.net>
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@calag.com>
In-Reply-To: Michael Harnois's message of 09 May 1997 21:10:49 -0500
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Date: 09 May 1997 19:19:17 -0700
Message-ID: <m2ohakdq6y.fsf@altair.xemacs.org>
Lines: 24
X-Mailer: Gnus v5.4.52/XEmacs 20.2(beta6)

Michael Harnois <mharnois@sbt.net> writes:

> Did anyone else experience makeinfo dumping core on internals.texi?
> Everything else was fine ...

You need the makeinfo from texinfo-3.9, but it has a bug in it.  Apply 
this patch:

--- texinfo-3.9/makeinfo/makeinfo.c~	Fri Oct  4 11:20:54 1996
+++ texinfo-3.9/makeinfo/makeinfo.c	Thu Apr  3 09:34:08 1997
@@ -8040,7 +8040,8 @@
       /* A pathological document might have an index entry outside of any
          node.  Don't crash.  Perhaps should warn.  */
       char *index_node = index->node ? index->node : "(none)";
-      unsigned new_length = strlen (index->entry) + strlen (index_node);
+/*      unsigned new_length = strlen (index->entry) + strlen (index_node); */
+      unsigned new_length = 43 + strlen (index_node);
       
       if (new_length > line_length)
         {

-- 
steve@calag.com baur
Unsolicited commercial e-mail will be billed at $250/message.

