From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id BB9EA383B6B8 for ; Sat, 10 Dec 2022 08:29:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BB9EA383B6B8 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org Received: by smtp.gentoo.org (Postfix, from userid 559) id 2228C34115F; Sat, 10 Dec 2022 08:29:12 +0000 (UTC) Date: Sat, 10 Dec 2022 17:29:10 +0900 From: Mike Frysinger To: Torbjorn SVENSSON Cc: Newlib Subject: Re: Iconv.html and iconv.html Message-ID: References: <419fd802-0895-3c9e-dd0d-be9963d7a83b@foss.st.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xVDMTU+Qs7FtOwfH" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --xVDMTU+Qs7FtOwfH Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 10 Dec 2022 01:29, Mike Frysinger wrote: > On 02 Dec 2022 17:06, Torbjorn SVENSSON wrote: > > I have been building a toolchain for the arm-none-eabi target using a= =20 > > rather recent snapshot of newlib. While building the html documentation= ,=20 > > I noticed that there will be generated the two files named Iconv.html= =20 > > and iconv.html. > > While this works fine for case sensitive file systems, it's obvious tha= t=20 > > this will not have the desired outcome on a case-insensitive file=20 > > system, such as on Windows system. > >=20 > > The Iconv.html file contains the chapter description and the iconv.html= =20 > > file contains the description of the iconv-function. > >=20 > > Can someone, with the knowledge of how these filenames are generated,= =20 > > change one of them so that the filenames differ on a case insensitive= =20 > > file system? >=20 > the naming is straightforward -- the @node attribute is turned directly i= nto > the filename. we use @node Iconv for the chapter and @node iconv for the= C > function APIs. so the fix is to change one of them. >=20 > the sub-areas have a 1-to-1 mapping to the chapter (e.g. stdio/->Stdio, > iconv/->Iconv, etc...). i took another look at this ... my initial dataset coincidentally aligned, but looking at all of them, it seems we already aren't standardized. ctype/ctype.tex Ctype iconv/iconv.tex Iconv locale/locale.tex Locale misc/misc.tex Misc posix/posix.tex Posix reent/reent.tex Reentrancy signal/signal.tex Signals ssp/ssp.tex Overflow Protection stdio64/stdio64.tex Stdio64 stdio/stdio.tex Stdio stdlib/stdlib.tex Stdlib string/strings.tex Strings string/wcstrings.tex Wchar strings time/time.tex Timefns it's common for @node & @chapter to be aligned, so looking at iconv.tex: @node Iconv @chapter Encoding conversions (@file{iconv.h}) so changing @node to "Encoding conversions" seems pretty easy. -mike --xVDMTU+Qs7FtOwfH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmOUQ1YACgkQQWM7n+g3 9YFxig//bPuXOM9ZVFvf1d2z2SVSpHC4J3G3Kd7DjLdAO9g4Xi6p3MKCu8cP7Pvi qtRUab+YHdxo810J2/Vg0QZp+25W6TMj8PRLTyL59PwmzbBvyrxRjuTCSGoFsPG0 OJ2cws3mPfcmSFuWruV0n1/XkobtM9TcaLaqTxAwKkzM4LTrygw4nI3zrEdawljJ Xk2Jna+Wv5XJb67wubntk5JYj0g32mA62YKbPb0q95TuC6X9HlBMlFs4LTVVOuM5 Vb21c+OK3Qbb7JvTTLjD24SZavDOJsvLWVx/Hk7BQgyQzHc5TgTzc4Xux5NU27FI OibbLgL5flXvMWbc/Zf3uZTfCjScUluY9pdE6WTM/E+xOFmOgnG80Rus/CzqVofT tSuGtnMPU1+fmoRY2z2oAGYudM6m21a/D3AtTv8+ah7Lv8v5UmHjvKq/lgi3+FEP 5jvM7ZQMLKoOTFQ6JeAeLmGTyopTraupeTr4r22o5y3XSgKJ5+zkZZhDZZrdegqT Qr0s7nedttBUYCfiU3qmmyMpIpa/dccipRr23hvBql15dxYSbwNmfDuQMR/YfO/H J9Zny23Gj9S1qM011o8emEvONRnfaJUkgmoxX6IEBthhqQHEdMalrcf1qttKyYQY Vq7g+3SMl38c9u50Vh8ZEiL4k1ggR3prxEFEPLXhm1tSKELLESo= =61UI -----END PGP SIGNATURE----- --xVDMTU+Qs7FtOwfH--