Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: `typeset -U' and exported tied parameters
- X-seq: zsh-workers 11316
- From: Oliver Kiddle <opk@xxxxxxxxxxxxx>
- To: "zsh-workers@xxxxxxxxxxxxxx" <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Re: `typeset -U' and exported tied parameters
- Date: Wed, 10 May 2000 23:56:11 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- Sender: opk
Peter Stephenson wrote:
> The change to uniqarray() is just because no-one was using the return
> value.
You missed the other return statement so I got an error message from the
SGI compiler (gcc only gives a warning).
Index: Src/params.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/params.c,v
retrieving revision 1.8
diff -u -r1.8 params.c
--- Src/params.c 2000/05/10 19:15:58 1.8
+++ Src/params.c 2000/05/10 23:49:27
@@ -2305,7 +2305,7 @@
char **t, **p = x;
if (!x || !*x)
- return 0;
+ return;
while (*++p)
for (t = x; t < p; t++)
if (!strcmp(*p, *t)) {
Messages sorted by:
Reverse Date,
Date,
Thread,
Author