octave-maintainers
[Top][All Lists]
Advanced

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

Re: wait_for_file ??


From: Shai Ayal
Subject: Re: wait_for_file ??
Date: Fri, 3 Sep 2010 12:24:11 +0300

On Fri, Sep 3, 2010 at 12:00 PM, Michael D Godfrey
<address@hidden> wrote:
>
> I noticed one item that affects the wait_for_file problem:
>
> In gl2ps-renderer.cc the is an fclose(fp)   (at line 82) which is not preceded
> by an fflush(fp).  This is bad practice since fclose doe not do an fflush.
> Inserting an fflush(fp) ahead of the fclose changes the behavior.  previously
> it appeared that the file that took a long time to appear was *.ps.  But with
> the fflush the *.ps file appears in 1 iteration and all the delay is waiting 
> for
> the *.eps.
>
> This does not yet fix the problem, but it is a bit clearer.  In any case, the 
> gl2ps
> maintainer should be encouraged to insert the fflush(fp).

gl2ps-renderer.cc is part of octave, not gl2ps (it is our wrapper
around gl2ps), so you can submit a patch here

Shai



reply via email to

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