From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 853 invoked by alias); 26 Nov 2010 11:55:52 -0000 Received: (qmail 823 invoked by uid 22791); 26 Nov 2010 11:55:50 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 26 Nov 2010 11:55:43 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LCH00600QE3MY00@a-mtaout22.012.net.il> for gdb-patches@sourceware.org; Fri, 26 Nov 2010 13:55:41 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.229.63.39]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LCH00639QGRI040@a-mtaout22.012.net.il>; Fri, 26 Nov 2010 13:55:40 +0200 (IST) Date: Fri, 26 Nov 2010 11:55:00 -0000 From: Eli Zaretskii Subject: Re: Fix doc index name on Windows In-reply-to: <4CEEAF36.7030005@eCosCentric.com> To: Jonathan Larmour Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83ipzk70w4.fsf@gnu.org> References: <4CEE9F77.1070509@eCosCentric.com> <83y68h6z4j.fsf@gnu.org> <4CEEAF36.7030005@eCosCentric.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-11/txt/msg00451.txt.bz2 > Date: Thu, 25 Nov 2010 18:47:18 +0000 > From: Jonathan Larmour > CC: gdb-patches@sourceware.org > > On 25/11/10 18:23, Eli Zaretskii wrote: > >> Date: Thu, 25 Nov 2010 17:40:07 +0000 > >> From: Jonathan Larmour > >> > >> When cross building GDB 7.2 to Windows I have found that the GDB > >> documentation set generates HTML files named index.html and > >> Index.html. > > > > What version of Texinfo is that? > > The tools I build are generated on a RHEL4 machine, which is therefore a > bit on the older side intentionally for wider binary compatibility > (although that doesn't affect docs, true). It's texinfo 4.7. Then it's a bug in the cross-build version of makeinfo. There's code in makeinfo/node.c:cm_node to handle the case when a file name produced from a node name clashes with a name of an existing file (produced from some other node name), due to limitations of the underlying filesystem. What makeinfo does in that case is put all the nodes whose names map to the same file name on that single file. I see this behavior in action in the Windows port of makeinfo 4.8, and the code which does this was written long before Texinfo 4.7 was released, so you must have it as well. I guess whoever produced the cross-build environment didn't make sure this feature is turned on, even though the RHEL4 filesystem does not need this. I don't like the name you suggest, "GDB Index". That chapter is not an index of GDB, it's an index of a manual. I can go with something like "Concept and Command Index" instead (and will accept such a patch if you insist on fixing this in GDB), but I really think you should take care of this in your cross-build environment, because that's where the bug is. Thanks.