Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Crash bug in typeset -T
On Sun, 27 Feb 2011 22:37:40 -0800
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> Obviously "typeset -T" needs to check if it's being applied to a
> parameter that's already tied ... but what should it do in that
> case? Error?
Within looking in any detail, I think it's going to have to be an error.
The reason you need to unset variables to retie them is that undoing it
is a lot of tricky code all over the place creating messy special cases.
The real fix is the same real fix as to most typeset problems: the code
should delegate much more to functions for different types of variables
reached via a uniform interface.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
Tel: +44 (0)1223 692070 Cambridge Silicon Radio Limited
Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK
Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
Messages sorted by:
Reverse Date,
Date,
Thread,
Author