Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [BUG] Redirect between two parameter assignments causes misbehaviour
- X-seq: zsh-workers 42107
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [BUG] Redirect between two parameter assignments causes misbehaviour
- Date: Mon, 11 Dec 2017 03:20:34 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=ugLzVZ sA+MpoOHroQUURkjPJNcKYjiBrDkusKo69tPU=; b=AxbMIrSLe1koBElnogo9I8 tXhQpPp+bEQp3xPO4gLuK9HlWGhg3qCtGy/y3RIx9dtTD0BKjUyil1Gw96cVFIpa +bZMQKosiJ0D/NPfIH50gRUvwY3SCWE0+Pm6UND/Bjkqchge6bt+ajGoRet7FEW5 su+8cltIOrEopef1ZLVDkgXNEl4AGJKRTlhEGoMnZKwbpiDqwe7d2Mcij4dXMM2L izOVUJR1oS3D84i5bjcgR7pKeVGT7Bnx7V9cxYC/WQBtu58KgvbUra26YOcLGLSd IT3WISKUlkdWmxFGg4tev1KzHAB3dDQj8QHK8JDLV3kHt+x0QOjz7Z5YngIeNvSA ==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=ugLzVZ sA+MpoOHroQUURkjPJNcKYjiBrDkusKo69tPU=; b=iyRTcu6sqJGLzl8pgB3OMR y86o3rt4V96gJzQ3DqNnZXrtFVaV6825nChtPXmsqUYcv6hT1nGT8PdxUCcNNyNi VkzKLdDyEKjq5YTcwYFBFEvr1fHVO9S6iBXWY1hJXcw+qkDHwSvbeeB37+A9H9oT KxVEb0R1V4hUY80uuYsAwwKcZd0VMzQhYS2+7MBIbrz6ActhAy9nWASOfbSBEXKz YUAjXt9PZ1J6K/KHMImdVsma08DMFnslIFoc5GtiiH3QD6EL+SuV28oNc5ZbDGnT bJcbslFJv2FKIG1zQ1p62jPOOR5ndz49BERNLL62xCe29USX3YGjLtN95yF2/F1w ==
- In-reply-to: <1512954420.1697620.1200536248.20F08CFE@webmail.messagingengine.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>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <86CB677F-70BF-43B2-8F6D-E8F0AC4C43A3@dana.is> <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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author