[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: file-handles
From: |
John Darrington |
Subject: |
Re: file-handles |
Date: |
Sun, 22 Jan 2006 13:56:08 +0800 |
User-agent: |
Mutt/1.5.4i |
On Sat, Jan 21, 2006 at 09:24:10PM -0800, Ben Pfaff wrote:
John Darrington <address@hidden> writes:
> I noticed that you made some changes to file-handle-def.[ch]
> I was wondering why there's no longer a destroy_file_handle function
> or equivalent.
Because file handles last as long as the PSPP process. There's
no way to destroy them.
Is there some reason that you need to destroy them early? Can
you explain?
In the gui, every time somebody clicks on file->open, I was destroying
the file handle, and creating a new one. A user could click on the
file->open button an infinite number of times during the operation of
the gui. So if there's no way to destroy a file handle, then at least
I need a way to reuse an existing one. Ie, with a fh_set_new_filename
method or similar.
J'
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.
pgpIooc4sEm7u.pgp
Description: PGP signature
- file-handles, John Darrington, 2006/01/21
- Re: file-handles, Ben Pfaff, 2006/01/22
- Re: file-handles,
John Darrington <=
- Re: file-handles, Ben Pfaff, 2006/01/22
- Re: file-handles, John Darrington, 2006/01/22
- Re: file-handles, Ben Pfaff, 2006/01/22
- Re: file-handles, John Darrington, 2006/01/22
- Re: file-handles, Ben Pfaff, 2006/01/22
- Re: file-handles', John Darrington, 2006/01/22