[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] canonicalize-lgpl: Canonicalize casing too for MinGW.
From: |
Jan Nieuwenhuizen |
Subject: |
Re: [PATCH v2] canonicalize-lgpl: Canonicalize casing too for MinGW. |
Date: |
Sat, 11 Dec 2021 12:35:41 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Paul Eggert writes:
> On 12/9/21 22:59, Jan Nieuwenhuizen wrote:
>> We are using the canonical form as an automatic include guard, to not
>> include the same file twice.
>
> Gnulib's same-inode module is often a better way to attack that problem.
That's an interesting suggestion. It looks like the inode returned by
stat is always 0 on MinGW (at least it is under wine), so also when
choosing this approach we would need to special case our client code for
MinGW?
Greetings,
Janneke
--
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | AvatarĀ® http://AvatarAcademy.com