OpenAmiga (265/964)

From:Aaron Optimizer Digulla
Date:11 Sep 2000 at 09:16:46
Subject:Re: AMIOPEN: [Q] gets and puts

On Sat, Sep 09, 2000 at 10:01:09AM -0700, Dave Thiede wrote:

> BTW, for such a short program the fflush() call shouldn't be necessary.
> With a normal exit, all buffers should be flushed and the streams closed.

This is a known bug in Elate; it doesn't flush the buffers correctly.
The same happens in tar cvzf... which creates a child which runs gzip.
When gzip exits, its output buffers are not flushed and therefore,
the final archive it corrupt.



==============================================
Sowatec AG, CH-8330 Pf�ffikon (ZH)
Witzbergstr. 7, http://www.sowatec.com
Tel: +41-(0)1-952 55 55
Fax: +41-(0)1-952 55 66
----------------------------------------------
Aaron "Optimizer" Digulla, digulla@sowatec.com
==============================================
Subscribe/Unsubscribe: open-request@amiga.com
Amiga FAQ: http://www.amiga.com/faq.html