Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 21 Nov 2019 18:31:02 +0000
To: "" <>
Subject: non-standard implementation of fflush()

Hello everyone,

the implementation of fflush() in musl doesn't seem to conform to the opengroup standard:

In addition to flushing unwritten data, which is expected, musl flushes the read buffer when calling fflush(). This leads to data loss in bidirectional communication uses. Other standard libraries don't do this.

As a reference compare musl to openbsd's libc:

I think this is unexpected behavior and should be changed.

Content of type "text/html" skipped

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.