Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham
	autolearn_force=no version=3.4.1
X-AuditID: cbfec7f5-f792a6d000001302-d3-571ddf721aac
Date: Mon, 25 Apr 2016 10:12:15 +0100
From: Peter Stephenson <p.stephenson@samsung.com>
To: zsh-workers@zsh.org
Subject: Re: Possible ZSH bug with IO direction
Message-id: <20160425101215.5ffb578f@pwslap01u.europe.root.pri>
In-reply-to: <571D3938.20905@googlemail.com>
References: <571BBF3C.50402@matrix.ai>
 <160423151436.ZM6912@torch.brasslantern.com>
 <20160424131748.441d605f@pwslap01u.europe.root.pri>
 <160424113644.ZM3576@torch.brasslantern.com>
 <20160424200132.7d0d00bc@ntlworld.com> <571D3938.20905@googlemail.com>
Organization: Samsung Cambridge Solution Centre
X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu)
MIME-version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
X-Brightmail-Tracker:
 H4sIAAAAAAAAA+NgFrrALMWRmVeSWpSXmKPExsVy+t/xq7pF92XDDXb0sFocbH7I5MDoserg
	B6YAxigum5TUnMyy1CJ9uwSujK8HsgumMVcsXTKTuYHxBFMXIyeHhICJxIzWr8wQtpjEhXvr
	2boYuTiEBJYyStza/Y4VwpnBJHGh+z8rSJWQwDlGic5LjBCJs4wSuz58ZwRJsAioShxf+pgN
	xGYTMJSYumk2WFxEQFzi7NrzLCC2sIC+xPmXp8AG8QrYS1z8/gEszimgI7Fy6hZmiKHNTBJH
	7s8Hu48fqOHq309Qt9pLzLxyhhGiWVDix+R7YM3MAloSm7c1sULY8hKb17xlhrhUXeLG3d3s
	ExiFZyFpmYWkZRaSlgWMzKsYRVNLkwuKk9JzjfSKE3OLS/PS9ZLzczcxQsL56w7GpcesDjEK
	cDAq8fB+YJENF2JNLCuuzD3EKMHBrCTCK3sNKMSbklhZlVqUH19UmpNafIhRmoNFSZx35q73
	IUIC6YklqdmpqQWpRTBZJg5OqQZGEyYGg3qLoNTcp0sqyy1P3rJkkbs7n8+ucfvMWY/a0net
	PH7A8Nkj2YmnOS9yM37W33ZtY3vpkupQjTdJZnbhHh6clhuOO8mfvOQ8c38l//sE/zylSezL
	AxMNPzd2tMn/0DtS80GrTmlvzrIGu3Tm/fGBDBdfnRU1kchKtK7/pHp21Q/7IC0lluKMREMt
	5qLiRADCra63YwIAAA==
X-Seq: zsh-workers 38334

On Sun, 24 Apr 2016 23:23:04 +0200
m0viefreak <m0viefreak.cm@googlemail.com> wrote:
> I think the cygwin_premain0 in main.c is very dangerous.

What's particularly annoying is it's run too early to be made optional
at run time (it looks like you could parse the command line arguments
but that's not the most useful way of setting shell options).  Unless
you can stick hooks in the hoos...?

pws

