Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: how does setopt -m work?
- X-seq: zsh-users 2215
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Re: how does setopt -m work?
- Date: Thu, 11 Mar 1999 16:58:47 +0100 (MET)
- In-reply-to: Bart Schaefer's message of Thu, 11 Mar 1999 07:49:22 -0800 (PST)
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
Bart Schaefer wrote:
> Is this really the whole patch? After applying this, I get
>
> ../../zsh-3.1.5/Src/options.c: In function `bin_setopt':
> ../../zsh-3.1.5/Src/options.c:527: `p' undeclared (first use this function)
> ../../zsh-3.1.5/Src/options.c:527: (Each undeclared identifier is reported only once
> ../../zsh-3.1.5/Src/options.c:527: for each function it appears in.)
> ../../zsh-3.1.5/Src/options.c:525: warning: `s' might be used uninitialized in this function
> ../../zsh-3.1.5/Src/options.c:525: warning: `t' might be used uninitialized in this function
Seems I sent the patch I made while waiting for the compiler... and
not the one I made after I fixed the above.
Pardon.
Bye
Sven
--- os/options.c Thu Mar 11 16:56:36 1999
+++ Src/options.c Thu Mar 11 16:56:26 1999
@@ -524,7 +524,7 @@
Comp com;
char *s, *t;
- t = p = dupstring(*args);
+ t = s = dupstring(*args);
while (*t)
if (*t == '_')
chuck(t);
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author