octave-maintainers
[Top][All Lists]
Advanced

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

Re: wait_for_file ?? [who/what/where does fclose()?]


From: Michael D Godfrey
Subject: Re: wait_for_file ?? [who/what/where does fclose()?]
Date: Fri, 10 Sep 2010 11:52:13 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100907 Fedora/3.1.3-1.fc13 Thunderbird/3.1.3

On 09/10/2010 11:37 AM, Shai Ayal wrote:
What we can do is use pclose instead of fclose in glps-renderer::draw,
but that would mean the code would only work for pipes. Is the OK?
If it is a pipe you really have to use pclose.  So, either decide that it
only works for pipes or provide a way of determining whether fopen
or popen was used and do the right (f or p)close.

The behavior of drawnow doing an fclose on the pipe is uncertain.

Michael


reply via email to

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