Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh-5.2-test-3
- X-seq: zsh-workers 40143
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx, Ray Andrews <rayandrews@xxxxxxxxxxx>
- Subject: Re: zsh-5.2-test-3
- Date: Sat, 10 Dec 2016 19:07:37 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=3a6OwuBBxq75HhEIgxPX+bKcTAzB3KVFEHPR2RgEw1Q=; b=p/qpPvc+QATUoiRBo87uw7yM9FJ5cbuake1Pi4NY/zg2gPWkxv34aY5v962+inZgXK C7qOli1wbuXxuKcxaNcTiruMdQ0GGCeckW7rVAQUca/bnS6QOw7VAOJJEHkQhMYO1KRt Bv6kjqWaYxRLHBh+bWcxRwy2HNy2D7nI9Z1Wl+AOxO08aCKutCQeLsQbDKFyU5g390gK CQsiMdRpo71ZtqNWWPMcQtdKFCmkyT0twKzbdVuH0Psr3DmBVB8u71HgQXdbjAs7/62Q P6x7cCtmEqYwDbLCnhQQZQ5wxdpY7USDTHc/kWxBtNtYjEiGpiURGuEWDFYbHBB2ijbZ MQxA==
- In-reply-to: <584CB4EF.6070904@eastlink.ca>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CGME20161206195028epcas2p3c53119ab37952571be3238cdf228d88f@epcas2p3.samsung.com> <20161206194916.10448440@ntlworld.com> <20161209095729.2033b5be@pwslap01u.europe.root.pri> <20161209195457.27e43234@ntlworld.com> <584CB4EF.6070904@eastlink.ca>
[Moving to -workers]
On Dec 10, 6:07pm, Ray Andrews wrote:
} Subject: Re: zsh-5.2-test-3
}
} On 12/09/2016 11:54 AM, Peter Stephenson wrote:
} >
} > 5.2-test-3 is in
} >
} > http://www.zsh.org/pub/development/
} >
} >
} Seems to have fired up ok, however:
What is the platform where you are compiling?
}
} builtin.c:5041:11: warning: "cursplit" may be used uninitialized in
} this function [-Wmaybe-uninitialized]
}
} compmatch.c:774:15: warning: "savl" may be used uninitialized in
} this function [-Wmaybe-uninitialized]
These are both spurious -- each of these variables shadows another which
is always used/tested first and which is not used uninitialized. May as
well shut up the warnings, though.
} $ make check
}
} ./V10private.ztst: starting.
} Pattern match failed:
}
}
There ought to be more output than that ... please run
$ ZTST_verbose=2 make check TESTNUM=V10
} BTW, if there a 'make check' that only shows errors or warnings? No
} need to see all the stuff that's fine.
No, but as shown above you can run specific tests if you already know
the others to be OK.
diff --git a/Src/Zle/compmatch.c b/Src/Zle/compmatch.c
index f82f00e..aedf463 100644
--- a/Src/Zle/compmatch.c
+++ b/Src/Zle/compmatch.c
@@ -674,7 +674,7 @@ match_str(char *l, char *w, Brinfo *bpp, int bc, int *rwlp,
*
* operation. Similar to savw.
*/
- char savl;
+ char savl = 0;
/*
* The anchor on this end.
*/
diff --git a/Src/builtin.c b/Src/builtin.c
index e641a97..65e0cb1 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -4092,7 +4092,7 @@ bin_print(char *name, char **args, Options ops, int func)
char *start, *endptr, *c, *d, *flag, *buf = NULL, spec[14], *fmt = NULL;
char **first, **argp, *curarg, *flagch = "'0+- #", save = '\0', nullstr = '\0';
size_t rcount = 0, count = 0;
- size_t *cursplit, *splits = 0;
+ size_t *cursplit = 0, *splits = 0;
FILE *fout = stdout;
#ifdef HAVE_OPEN_MEMSTREAM
size_t mcount;
Messages sorted by:
Reverse Date,
Date,
Thread,
Author