zsh-workers
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <opk@u.genie.co.uk>
To: "zsh-workers@sunsite.auc.dk" <zsh-workers@sunsite.auc.dk>
Subject: Re: `typeset -U' and exported tied parameters
Date: Wed, 10 May 2000 23:56:11 +0100	[thread overview]
Message-ID: <3919E90B.F61DD894@u.genie.co.uk> (raw)

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)) {


             reply	other threads:[~2000-05-10 23:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-10 22:56 Oliver Kiddle [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-05-10 15:59 Bart Schaefer
2000-05-10 19:07 ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3919E90B.F61DD894@u.genie.co.uk \
    --to=opk@u.genie.co.uk \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).