octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wait_for_file ??


From: Michael D Godfrey
Subject: Re: wait_for_file ??
Date: Fri, 03 Sep 2010 18:58:46 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100806 Fedora/3.1.2-1.fc13 Thunderbird/3.1.2

On 09/03/2010 06:37 PM, Dmitri A. Sergatskov wrote:
The fclose() function will flushes the stream pointed to by fp (writing
       any buffered output data using fflush(3))  and  closes  the  underlying
       file descriptor.


> Michael
>
I am not an expert, but there is something fishy is going on...

Dmitri.
--
I know it says that, but it is not always true.  In this case, inserting
a fflush() ahead of the fclose() made an obvious change to the behavior.

Michael


reply via email to

[Prev in Thread] Current Thread [Next in Thread]