This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 1/3] <fd_to_filename.h>: Add type safety and port to Hurd
On 17/02/2020 15:26, Paul Eggert wrote:
> On 2/17/20 7:18 AM, Florian Weimer wrote:
>> Here's an updated version
>
> Thanks, it looks good.
>
>> which adds a dependency on <intprops.h> (a
>> header I really dislike)
>
> I disliked *writing* intprops.h (what a mess that part of C is!) but I don't dislike *using* it when it's clearer or more reliable than the alternatives.
I think the main problem with intprops.h is it contains a lot
of clutter not really useful for the current glibc targets,
and it could be simplified with current minimum build compiler
requirement.
Also, although its usage is indeed handy in some situations,
its implementation is somewhat complex and convoluted. I don't
see a better solution with given constraint though.
So the question is if it still worth to keep it in sync with
gnulib, or if is better to push for a more tailored and clean
replacement.