Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug with parameter module
- X-seq: zsh-workers 8897
- From: Zefram <zefram@xxxxxxxx>
- To: pws@xxxxxxxxxxxxxxxxxxxxxxxx (Peter Stephenson)
- Subject: Re: Bug with parameter module
- Date: Sun, 5 Dec 1999 12:48:05 +0000 (GMT)
- Cc: zsh-workers@xxxxxxxxxxxxxx
- In-reply-to: <E11uPpM-0007KC-00.1999-12-05-00-47-00@xxxxxxxxxxxxxxxxxxxx> from Peter Stephenson at "Dec 5, 1999 0:47:37 am"
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Peter Stephenson wrote:
>The shell hangs. It seems that executing fn uses some wrapper associated
>with the parameter module which then won't unload.
Count me as "not surprised". Unloading modules before exit is all very
well, but hanging if they won't unload is just asking for trouble.
> There should be some
>mode to force unloading on exit
No, it's simpler than that. Just ignore errors; *attempt* to unload
each module, but leave it if it doesn't unload.
Forcing an unload when the module's code may be on the call stack seems
dangerous, and will at least be confusing to those using debuggers.
> (this is the real problem worked around in
>the case of zle by Clint's patch in 8862, I would think).
Yes. That patch isn't necessary if you just ignore errors.
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author