octave-maintainers
[Top][All Lists]
Advanced

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

Re: wait_for_file ?? [GL2PS error: Bad file pointer]


From: Michael D Godfrey
Subject: Re: wait_for_file ?? [GL2PS error: Bad file pointer]
Date: Sat, 11 Sep 2010 21:33:06 -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/11/2010 09:20 PM, Shai Ayal wrote:
fclose is in glps-renderer::draw which IMHO is the only place it
should be since it's the only place guaranteed to be after the file
has been written to.

Shai
OK.  It would be good if you stored 0 (null) into the fid after the
fclose.  This would prevent reuse and make clear that the fid had
been closed.

Now, I am not sure what is causing Ben's problem.  When I ran
his script (including an fclose(fid) which should have done nothing)
it ran OK on my system.

Michael


reply via email to

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