This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] Add File->Close


Keith Seitz wrote:
> 
> On Wed, 23 May 2001, Fernando Nasser wrote:
> 
> > I think this option is a good idea.  The name, however, should be
> > "Clear".
> 
> Now that you mention it, "Close" does sound like a bad choice, but I
> don't really like "clear" either. How about something like "Close
> executable" or something more descriptive?
> 

You know why I came out with "Clear"?  Because this is the name GDB
gives to it internally.  The GDBLIB function is called "clear_file()".

"Clear" is actually the standard name for this operation -- well, IBM
and MS standard at least (Jim: how is it at Apple?).  It means "emptying
your application of anything that is loaded in your 'document', i.e.
'clearing' your "document").  "Document" is an abstract concept -- it
can be a spreadsheet for instance.  In our case is what the debugger is
looking at.


I guess "Clear" is a clear choice (pun intended) :-) 


> BTW, this option really isn't needed, but it is a workaround for a bug in
> Win98/2000 (NT?) where the kernel does an exclusive open on all network
> files, regardless of whether the program opened the file non-exclusively.
> Sigh.
> 

Oh boy!  Yes, I've heard of that.  I may be mistaken, but I guess it
happens on NT as well.

-- 
Fernando Nasser
Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]