From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8784 invoked from network); 6 May 1999 16:15:14 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 6 May 1999 16:15:14 -0000 Received: (qmail 12641 invoked by alias); 6 May 1999 16:15:00 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6229 Received: (qmail 12624 invoked from network); 6 May 1999 16:14:57 -0000 Message-Id: <9905061550.AA29602@ibmth.df.unipi.it> To: zsh-workers@sunsite.auc.dk (Zsh hackers list) Subject: typeset bug Date: Thu, 06 May 1999 17:50:26 +0200 From: Peter Stephenson What the heck's going on here? % cat tst test_var=value foo() { unset test_var; } foo % . ./tst % print ${+test_var} 0 % typeset -m 'test_*' % print ${+test_var} 1 Somehow the typeset -m is recovering test_var, which is wrong. What's even worse, it shouldn't even be recoverable; since it was created in global scope, it should simply be removed from the parameter table. I hate parameters, they're always doing things like this. -- Peter Stephenson Tel: +39 050 844536 WWW: http://www.ifh.de/~pws/ Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy