Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh-5.2-test-3
- X-seq: zsh-workers 40145
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: zsh-5.2-test-3
- Date: Sun, 11 Dec 2016 03:26:03 +0000
- Cc: Ray Andrews <rayandrews@xxxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=lQMuCZjdeZ/sBSL 6I3TT8zLvpIE=; b=XRwUUCQHUB4kKT5RvOry5gn8c+ajzZNy0wbblKo2oQ5Q1nr MvoiITIHuNCESMIpdaulzJ2eBEFWttANkjaI8cD09z5ek0xT5tg97W4tyIJW7aAy kewXQ+4d+uC3MakmUD2iKYqQFpyU4flgKLpZvDV85ozf9Et4CJFakOVC2P7A=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=smtpout; bh=lQMuCZjdeZ/sBS L6I3TT8zLvpIE=; b=Crxs7Q92hKreQ5CRg8Zqy6qW746qPoE4/rUe/O7VkF7P3z k158+FMR2qgmjB6pua1wld506eUe6BvSZU+kihcyPHkkNZqoqkRUZaRBf8hwlxTu sQxtybJR9lznYDp8BWTsE8JpYyhn+C8uTeG5gJuQGqZjp9Nf1MjLHnGQALWN0=
- In-reply-to: <161210190737.ZM11109@torch.brasslantern.com>
- 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> <161210190737.ZM11109@torch.brasslantern.com>
Bart Schaefer wrote on Sat, Dec 10, 2016 at 19:07:37 -0800:
> +++ 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;
I see you've pushed this, but for what it's worth, it wouldn't have been
my first choice. I'd rather have left the variable uninitialized in the
(sfx is false) case, precisely so reading savl without checking sfx
first would result in an "is used uninitialized" warning.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author