![]() |
|
Message-ID: <CAJgzZor=FpJTqembh4JtwXx+WbY33ab0uY=7eFH-Ro=PCdYBmw@mail.gmail.com> Date: Mon, 27 Jan 2025 10:34:45 -0500 From: enh <enh@...gle.com> To: Rich Felker <dalias@...c.org> Cc: musl@...ts.openwall.com, Aditya Kumar <appujee@...gle.com> Subject: Re: fts.h On Mon, Jan 27, 2025 at 10:25 AM Rich Felker <dalias@...c.org> wrote: > > On Thu, Jan 23, 2025 at 01:54:41PM -0500, enh wrote: > > https://wiki.musl-libc.org/faq says "If glibc bug 15838 is fixed by > > adding an fts64 interface in glibc, we could consider supporting it > > with a matching ABI in musl, but it seems more likely that glibc will > > just deprecate this interface", but that bug _was_ fixed in 2015 for > > glibc 2.23... > > I wonder when that text was written. While we could certainly consider > it, lack of any apparent need so far suggests that it wouldn't meet > the modern criteria for inclusion in musl. well, the reason i'm mentioning this is because Android's mixing in the bionic (lightly modified openbsd) fts to its host musl to be able to build various things. one of them is the bionic fts test (we build the bionic tests against the host libc too, for comparison), so we can ignore that. bionic/tests/fts_test.cpp:32:10: fatal error: 'fts.h' file not found the other two seem legit though: external/vboot_reference/futility/updater_archive.c:13:10: fatal error: 'fts.h' file not found external/selinux/libselinux/utils/selabel_get_digests_all_partial_matches.c:7:10: fatal error: 'fts.h' file not found > The main motivation I could potentially see flipping this is if there > are a significant number of programs shipping their own (e.g. gnulib?) > versions of fts, that would save significant code-duplication disk > space (or get better behavior of some sort) if using a shared copy in > libc. iirc there's a way to grep the source of all debian packages, though it would be hard to know how many of them have an alternative like ftw(3) they can use instead. > 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.