[PATCH v2] libio: Fix open_memstream fflush (NULL) (BZ#21735)

Florian Weimer fweimer@redhat.com
Tue Aug 8 14:59:00 GMT 2017


On 08/08/2017 03:43 PM, Adhemerval Zanella wrote:
> POSIX specifies that the state and size after a fflush on a stream
> opened by open_memstream should be updated and current implementation
> does not act accordingly on a fflush (NULL) (meant to act on all opened
> streams).  This patch fixes it for open_{w}memstream.

I would like to suggest to wait until this Austin Groups issue has been
resolved:

  http://austingroupbugs.net/view.php?id=1156

Thanks,
Florian



More information about the Libc-alpha mailing list