Iconv.html and iconv.html
Mike Frysinger
vapier@gentoo.org
Sat Dec 10 08:29:10 GMT 2022
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
> > rather recent snapshot of newlib. While building the html documentation,
> > I noticed that there will be generated the two files named Iconv.html
> > and iconv.html.
> > While this works fine for case sensitive file systems, it's obvious that
> > this will not have the desired outcome on a case-insensitive file
> > system, such as on Windows system.
> >
> > The Iconv.html file contains the chapter description and the iconv.html
> > file contains the description of the iconv-function.
> >
> > Can someone, with the knowledge of how these filenames are generated,
> > change one of them so that the filenames differ on a case insensitive
> > file system?
>
> the naming is straightforward -- the @node attribute is turned directly into
> 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.
>
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/newlib/attachments/20221210/a23fec5d/attachment.sig>
More information about the Newlib
mailing list