Hi Collin,

> The issue here, and likely for the other cases, is that Musl's fclose
> returns without indicating an error.
> ...
> I'm not sure what the proper fix would be here.

The first step should be to create a reproducing test program that does
only a few system calls.

The second step then should be to decide whether musl violates POSIX,
or whether it merely violates GNU expectations.

Then, it sounds like a Gnulib override of fclose() is in order.

Or maybe Gnulib already overrides fclose() on musl, and there is a
bug in this override?

Bruno




Reply via email to