This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2] libio: Fix open_memstream fflush (NULL) (BZ#21735)
- From: Florian Weimer <fweimer at redhat dot com>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, libc-alpha at sourceware dot org
- Date: Tue, 8 Aug 2017 16:59:38 +0200
- Subject: Re: [PATCH v2] libio: Fix open_memstream fflush (NULL) (BZ#21735)
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=fweimer at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 2559420272
- References: <1502199791-22458-1-git-send-email-adhemerval.zanella@linaro.org>
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