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




  • misc/io-errors fails on ... Bruno Haible via GNU coreutils General Discussion
    • Re: misc/io-errors ... Collin Funk
      • Re: misc/io-err... Bruno Haible via GNU coreutils General Discussion
        • Re: misc/io... Collin Funk
          • Re: mis... Bruno Haible via GNU coreutils General Discussion
            • Re... Collin Funk
              • ... Bruno Haible via GNU coreutils General Discussion
                • ... Bruno Haible via GNU coreutils General Discussion
                • ... Collin Funk
                • ... Bruno Haible via GNU coreutils General Discussion
                • ... Collin Funk
                • ... Bruno Haible via GNU coreutils General Discussion
                • ... Collin Funk

Reply via email to