From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: zsh-workers@zsh.org
Subject: Re: [BUG] Redirect between two parameter assignments causes misbehaviour
Date: Mon, 11 Dec 2017 03:20:34 +0000 [thread overview]
Message-ID: <1512962434.1720169.1200616992.3194F636@webmail.messagingengine.com> (raw)
In-Reply-To: <1512954420.1697620.1200536248.20F08CFE@webmail.messagingengine.com>
Daniel Shahaf wrote on Mon, 11 Dec 2017 01:07 +0000:
> It's spinning in the 'while (1)' in gettext2() on WC_END.
>
> If I change the definition of WC_END to 0 then it hits the 'default'
> branch of the case, returns from gettext2(), and doesn't spin.
>
Sorry, I meant: change it to a *non-zero* value.
> Without having looked any further into it, I wonder whether we should
> change WC_END to zero, so if we ever calloc() something and forget to
> initialise it, it won't be mistaken for valid data.
next prev parent reply other threads:[~2017-12-11 3:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20171211001958epcas4p39fe7f2605374e3ea973e19b62beb9a9c@epcas4p3.samsung.com>
2017-12-11 0:19 ` dana
2017-12-11 1:07 ` Daniel Shahaf
2017-12-11 3:20 ` Daniel Shahaf [this message]
2017-12-11 12:01 ` Peter Stephenson
2017-12-11 21:26 ` dana
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=1512962434.1720169.1200616992.3194F636@webmail.messagingengine.com \
--to=d.s@daniel.shahaf.name \
--cc=zsh-workers@zsh.org \
/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).