Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: check deleted .zwc files
- X-seq: zsh-workers 14832
- From: Clint Adams <clint@xxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: PATCH: check deleted .zwc files
- Date: Sun, 10 Jun 2001 07:34:18 -0400
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <1010609205833.ZM20464@xxxxxxxxxxxxxxxxxxxxxxx>; from schaefer@xxxxxxxxxxxxxxxxxxxxxxx on Sat, Jun 09, 2001 at 08:58:32PM +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20010608141719.A4626@xxxxxxxx> <010608115028.ZM5876@xxxxxxxxxxxxxxxxxxxxxxx> <20010608150445.A5394@xxxxxxxx> <010608124608.ZM5942@xxxxxxxxxxxxxxxxxxxxxxx> <20010608155309.A6700@xxxxxxxx> <1010609205833.ZM20464@xxxxxxxxxxxxxxxxxxxxxxx>
> Clint, maybe you could explain more WHY you want this to work? Is it
> for the case where the ONLY place from which zsh can load the function
> definition is the (removed but still mapped) digest file? Or is there
> some reason that you want the mapped file to take precedence over any
> other file on disk?
The former. In Debian, when someone upgrades their zsh package,
the binary, docs, functions, modules, and wordcode digests get
removed, and those of the new version are put in place.
The directories are versioned, so "place" is a unique pathname.
The user with a running shell finds his $fpath emptied,
usually when he hits TAB for a completion that has not yet
been autoloaded, and zsh spams him with pages of "function
definition file not found".
In this particular scenario, the mapped file should never take
precedence over the on-disk file, since unless the administrator
has for some reason reinstalled the very same version, that
on-disk file won't exist.
Perhaps everyone would be happier if the deleted files were only
checked if the function could not be found anywhere else.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author