[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wait_for_file ?? [GL2PS error: Bad file pointer]
From: |
Ben Abbott |
Subject: |
Re: wait_for_file ?? [GL2PS error: Bad file pointer] |
Date: |
Sun, 12 Sep 2010 17:27:23 -0400 |
On Sep 12, 2010, at 4:13 PM, Michael D Godfrey wrote:
> On 09/12/2010 12:41 PM, Shai Ayal wrote:
>> The fid is passed by value -- it's even passed by it's string value!.
> Ah. Interesting. More interesting is the fact that doing an fclose(fid)
> immediately
> after the drawnow has no negative effect. It is probable that drawnow has not
> yet written to the file by the time of the return.
>
> All this adds up to: time to switch to pipes. I think that Ben is doing that
> now.
>
> Michael
I don't understand what is happening, but pipes don't fix the problem (for me).
I posted a changeset that relies on pipes for GL2PS. For Gnuplot pipes are used
after the Gnuplot has produced its output.
https://www-old.cae.wisc.edu/pipermail/octave-maintainers/2010-September/016994.html
I'd appreciate having others look it over and comment.
Ben
- Re: wait_for_file ?? [GL2PS error: Bad file pointer], (continued)
- Re: wait_for_file ?? [GL2PS error: Bad file pointer], Michael D Godfrey, 2010/09/11
- Re: wait_for_file ?? [GL2PS error: Bad file pointer], Michael D Godfrey, 2010/09/11
- Re: wait_for_file ?? [GL2PS error: Bad file pointer], Shai Ayal, 2010/09/12
- Re: wait_for_file ?? [GL2PS error: Bad file pointer], Michael D Godfrey, 2010/09/12
- Re: wait_for_file ?? [GL2PS error: Bad file pointer], Ben Abbott, 2010/09/12
- Re: wait_for_file ?? [GL2PS error: Bad file pointer], Michael D Godfrey, 2010/09/12
- Re: wait_for_file ?? [GL2PS error: Bad file pointer], Shai Ayal, 2010/09/12
- Re: wait_for_file ?? [GL2PS error: Bad file pointer], Michael D Godfrey, 2010/09/12
- Re: wait_for_file ?? [GL2PS error: Bad file pointer], Shai Ayal, 2010/09/12
- Re: wait_for_file ?? [GL2PS error: Bad file pointer], Michael D Godfrey, 2010/09/12
- Re: wait_for_file ?? [GL2PS error: Bad file pointer],
Ben Abbott <=
- Re: wait_for_file ?? [print via pipes], Ben Abbott, 2010/09/12
- Re: wait_for_file ?? [print via pipes], Ben Abbott, 2010/09/12
- Re: wait_for_file ?? [print via pipes], Michael D Godfrey, 2010/09/12
- Message not available
- Re: wait_for_file ?? [print via pipes], Ben Abbott, 2010/09/13
- Re: wait_for_file ?? [print via pipes - 2nd attempt], Ben Abbott, 2010/09/13
- Re: wait_for_file ?? [print via pipes - help testing on Windows?], Ben Abbott, 2010/09/16
- Re: wait_for_file ?? [print via pipes - help testing on Windows?], Michael D Godfrey, 2010/09/17
- Re: wait_for_file ?? [print via pipes - help testing on Windows?], Michael D Godfrey, 2010/09/17
- Re: wait_for_file ?? [print via pipes - help testing on Windows?], Michael D Godfrey, 2010/09/17
- Re: wait_for_file ?? [print via pipes - help testing on Windows?], Marco Atzeri, 2010/09/17