Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <0CFF71BD-E0E3-4FF6-8AB0-8D78C85582AB@kba.biglobe.ne.jp>
Date: Fri, 3 Oct 2025 08:42:03 +0900
From: "Jun. T" <takimoto-j@....biglobe.ne.jp>
To: musl@...ts.openwall.com
Subject: Bug?: weak alias fpurge() may better be removed

fpurge() exists as a weak_alias in stdio/ext.c, but it is not
declared in any header files. This causes a problem when building,
for example, zsh:

AC_CHECK_FUNCS(fpurge) finds the alias and defines HAVE_FPURGE,
but compiling a C code using fpurge() fails since it can't be
found in any headers.

It seems fpurge() is removed from stdio.h by an old commit:
a34b0465ba14c70532b8eaba650a9eac228fce57

Is there any reason that the weak_alias needs be kept?


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.