This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



On 08/08/2017 11:59, Florian Weimer wrote:
> 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
> 

Fair enough, although the proposed behaviour is what major libc is
following (BSDs and musl, Solaris seems to not have support for
open_memstream).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]