Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: putenv()/environ bug
- X-seq: zsh-workers 23726
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: putenv()/environ bug
- Date: Mon, 30 Jul 2007 21:52:32 +0100
- In-reply-to: <20070730213934.aefff281.p.w.stephenson@xxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20070725093254.T20275@xxxxxxxxxxxxxxx> <20070725215321.00e3b110.p.w.stephenson@xxxxxxxxxxxx> <20070725184302.S23862@xxxxxxxxxxxxxxx> <200707282246.16663.arvidjaar@xxxxxxxxxx> <20070729140248.D2588@xxxxxxxxxxxxxxx> <20070730213934.aefff281.p.w.stephenson@xxxxxxxxxxxx>
Paranoia.
Index: Test/B02typeset.ztst
===================================================================
RCS file: /cvsroot/zsh/zsh/Test/B02typeset.ztst,v
retrieving revision 1.13
diff -u -r1.13 B02typeset.ztst
--- Test/B02typeset.ztst 28 May 2007 22:57:42 -0000 1.13
+++ Test/B02typeset.ztst 30 Jul 2007 20:52:56 -0000
@@ -377,3 +377,14 @@
>integer local i
>local tagged scalar
>preserved
+
+ export ENVFOO=bar
+ print ENVFOO in environment
+ env | grep '^ENVFOO'
+ unset ENVFOO
+ print ENVFOO no longer in environment
+ env | grep '^ENVFOO'
+1:Adding and removing values to and from the environment
+>ENVFOO in environment
+>ENVFOO=bar
+>ENVFOO no longer in environment
--
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author