Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: Anybody objects to the following change in createparamtable()?
- X-seq: zsh-workers 12402
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>, "ZSH workers mailing list" <zsh-workers@xxxxxxxxxxxxxx>
- Subject: RE: Anybody objects to the following change in createparamtable()?
- Date: Thu, 27 Jul 2000 13:13:21 +0400
- Importance: Normal
- In-reply-to: <1000727085054.ZM32014@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
> } ??if ((!(pm = (Param) paramtab->getnode(paramtab, iname)) ||
>
> Where'd those '\232' characters come from? Please don't let any of those
> creep into the actual source code ...
>
Copy'n'paste out of Motif GVim under Exceed ... ough :-) There is something
fishy with Vim; I noted it already but am too lazy to look into ...
> [schaefer@candle]$ zsh-3.1.9-dev-3 -f
> zagzig% echo $ZSH_VERSION $FOO
> 3.1.9-dev-3 BAR=BAZ <-- Last appears to win but
> zagzig% printenv | grep FOO
> FOO=FOO <-- does not match environ!
Yes, I know. Call to setsparam() finally calls replenv() that searches old
environment, finds nothing and does nothing. So, newly built env table gets
the first value found, but parameter itself the last one.
>
> This all depends on your definition of "safe" ...
>
I just meant, that it won't prevent importing value of some parameter already
exported by Zsh on it's own.
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author