Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] Use __fpurge when fpurge is undeclared



I tested on Alpine-3.22 and the test A04 succeeded without calling
fpurge(). Probably we don't need it on musl-based systems.

fpurge() exists as a weak alias to __fpurge in musl-libc, but it is
declared nowhere in header files. musl's git log indicates it was
removed from stdio.h by an old commit
https://git.musl-libc.org/cgit/musl/commit/?id=a34b0465ba14c70532b8eaba650a9eac228fce57
but the weak alias was not removed. I guess this is a bug of musl.



Messages sorted by: Reverse Date, Date, Thread, Author