Re: PATCH: fix open_memstream's regression test

2014-07-19 Thread Philip Guenther
On Thu, Jul 17, 2014 at 7:27 PM, Doug Hogan wrote: > Ran into this while running the regression suite for another patch. > > The regression test for open_memstream causes a SIGBUS because it closes > the stream too early. > > Replaced fclose with fflush since they both update pbuf and psize. > Ad

PATCH: fix open_memstream's regression test

2014-07-17 Thread Doug Hogan
Ran into this while running the regression suite for another patch. The regression test for open_memstream causes a SIGBUS because it closes the stream too early. Replaced fclose with fflush since they both update pbuf and psize. Added a similar check for fclose at the end. Index: regress/lib/li