This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: [PATCH] Add File->Close
- To: Keith Seitz <keiths at cygnus dot com>
- Subject: Re: [PATCH] Add File->Close
- From: Fernando Nasser <fnasser at redhat dot com>
- Date: Wed, 23 May 2001 11:27:17 -0400
- CC: Insight Maling List <insight at sources dot redhat dot com>, Jim Ingham <jingham at apple dot com>
- Organization: Red Hat Canada
- References: <Pine.GSO.4.33.0105230815450.19383-100000@ryobi.cygnus.com>
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