![]() |
|
Message-ID: <aN1JtqM0KcMuaI9y@pie> Date: Wed, 1 Oct 2025 15:33:10 +0000 From: Yao Zi <ziyao@...root.org> To: musl@...ts.openwall.com Cc: Celeste Liu <uwu@...lacanthus.name> Subject: Re: Running os-test on musl's POSIX headers On Wed, Oct 01, 2025 at 02:41:01PM +0000, Yao Zi wrote: > On Mon, Sep 29, 2025 at 04:34:22PM +0200, Jonas 'Sortie' Termansen wrote: > > Hi musl, > > > > You might be interested in the os-test project I've been building > > lately. The new include test suite checks whether the standard library > > headers declare everything that POSIX.1-2024 requires, sliced by each > > option group: > > > > https://sortix.org/os-test/include/ for the raw data > > https://sortix.org/blog/os-testing-posix-headers/ for a write-up about > > the results > > Nice work! But when I forwarded the link to my friends, she pointed out > there're some problems in the Linux (glibc) section of the blog. > Precisely saying, about struct flock's definition, it's described as > > struct flock { > /* ... */ > int l_whence; > int l_type; > }; > > However, glibc does define flock.l_{whence,type} as int[1] on Linux, ~~~ I was meant to refer to "short int" here, sorry for the typo. > and passed the corresponding test! It's actually glibc on Hurd[2] > failing to do so. Thanks, Yao Zi
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.