Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20261119041220.GX5716@brightrain.aerifal.cx>
Date: Wed, 18 Nov 2026 23:12:20 -0500
From: Rich Felker <dalias@...c.org>
To: Thorsten Glaser <tg@...bsd.de>
Cc: musl@...ts.openwall.com
Subject: Re: [PATCH v1 10/18] fts: drop aligned statp alloc support

On Thu, Nov 19, 2026 at 04:17:17AM +0100, Thorsten Glaser wrote:
> On Wed, 18 Nov 2026, Rich Felker wrote:
> 
> >> > interface or internal to musl. Hopefully this isn't something callers
> >> > can depend on and it can just be fixed to use a real FAM.
> 
> >I don't see where the fts_name[1] is fixed. It needs to be fts_name[]
> 
> Yes, fts is a FAM API.
> 
> Not sure what the requirements on toolchain in musl re. FAM support
> are; it’s shaky especially for C++ compilers.

I wasn't aware there was still a C++ mess around this, but at least
gcc and clang support it. I'm not aware of any other C++ compilers
viable to use with linux/musl systems.

> So, on the C side, C99 is sufficient, but __cpp_flexible_array_members
> is a rather late feature. Of course, this may be still ok for musl…

Yes, in any case FAM is already mandatory for various public
interfaces.

> On the series as a whole: YES PLEASE! Having a high-quality fts
> available would help much, less bundling or hacks. It is a cornerstone
> of archivers, for example.

Thanks for weighing in!

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.