[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
- Re: need someone to check a changeset, Jordi Gutiérrez Hermoso, 2010/09/01
- Re: need someone to check a changeset, Ben Abbott, 2010/09/01
- Message not available
- Message not available
- Re: wait_for_file ??, Michael D Godfrey, 2010/09/03
- Re: wait_for_file ??, Shai Ayal, 2010/09/03
- Re: wait_for_file ??, Michael D Godfrey, 2010/09/03
- Re: wait_for_file ??, Michael D Godfrey, 2010/09/03
- Re: wait_for_file ??,
Shai Ayal <=
- Re: wait_for_file ??, Olaf Till, 2010/09/03
- Re: wait_for_file ??, Michael D Godfrey, 2010/09/03
- Re: wait_for_file ??, Michael D Godfrey, 2010/09/03
- Re: wait_for_file ??, Michael D Godfrey, 2010/09/03
- Re: wait_for_file ??, Ben Abbott, 2010/09/03
- Re: wait_for_file ??, Michael D Godfrey, 2010/09/03
- Re: wait_for_file ??, John W. Eaton, 2010/09/03
- Re: wait_for_file ??, Michael D Godfrey, 2010/09/03
- Re: wait_for_file ??, Michael D Godfrey, 2010/09/03
- Re: wait_for_file ??, bpabbott, 2010/09/03