pspp-dev
[Top][All Lists]
Advanced

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

Re: file-handles


From: Ben Pfaff
Subject: Re: file-handles
Date: Sun, 22 Jan 2006 15:29:11 -0800
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

John Darrington <address@hidden> writes:

> I can understand where you're comming from.  How would you feel about
> the GUI just re-using the same file handle?  In many ways that would
> make more sense, because currently, whenever the GUI opens a new file,
> I'm destroying the old file handle, and immediately recreating it,
> which seems cumersome.  So can you see any problem with a function
> which associates a new filename with a handle.  Perhaps it would have
> to do some checks first, like closing the old file if it was open.

I don't have any objection to changing the file name associated
with a handle, if it's only used by the GUI for that specialized
purpose.  I think in general-purpose use it could have problems
related to those in destroying file handles.
-- 
Ben Pfaff 
email: address@hidden
web: http://benpfaff.org




reply via email to

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