X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; q=dns; s=default; b=O2Ovh/iXri+VfDJY+hzCCOs4ZcGsGbxKhra6N7G1L4f YAkZEW0yYe63nll+sa2kvBLkGjyFCig9NcWWgojvmtMo5bhE0fcOe4j6wRBOJRsb OuUodvb5p7LI5t0PZ1JgOsm+n/rMJ+bWaAmAh7PsIudWF8ygE5Bu3+aNYqlhC8s0 = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; s=default; bh=NLxEhD+UsHOR+ktfaqAmEJG6kG4=; b=wdeZU5CU0FtoUpACe M6kTJqnTZYMUhMYeDGk0amGctf28nMH1FVgxUkLBJqpu4z+fwzOKfrneXrWvNWgi I/YdEWwiLH+Sjfa1COsPCqlkTcYhq8tl0mwp9ziWe5AvtFnk/GGAxYWOKE/d4yGb eT9UXjf900TPQrMIGYYlot4Isk= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: mailscanner02.zoner.fi Date: Thu, 26 Feb 2015 12:45:55 +0200 From: Lasse Collin To: cygwin AT cygwin DOT com Subject: Re: Clearing O_NONBLOCK from a pipe may lose data Message-ID: <20150226124555.2b17cc39@tukaani.org> In-Reply-To: <20150224152449.GL437@calimero.vinschen.de> References: <20150222220747 DOT 789401d2 AT tukaani DOT org> <20150223105653 DOT GG437 AT calimero DOT vinschen DOT de> <20150223122345 DOT GM437 AT calimero DOT vinschen DOT de> <54EC2566 DOT 4030703 AT towo DOT net> <20150224110953 DOT GF437 AT calimero DOT vinschen DOT de> <20150224161601 DOT 68f0a08c AT tukaani DOT org> <20150224152449 DOT GL437 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Antivirus-Scanner: Clean mail though you should still use an Antivirus Received-SPF: none X-IsSubscribed: yes On 2015-02-24 Corinna Vinschen wrote: > On Feb 24 16:16, Lasse Collin wrote: > > I'm going to release xz 5.2.1 in a day or two. Should that release > > have a workaround for this Cygwin bug? The workaround would avoid > > using O_NONBLOCK on stdout. It adds a race condition to signal > > handling in xz but it's usually a very minor issue (xz 5.0.x has > > the race and no one has complained). On the other hand, the fixes > > to the threading bugs are somewhat important for xz too, so maybe I > > should just add a note that xz 5.2.x isn't safe on Cygwin yet but > > will be in the (somewhat) near future? > > Whatever you prefer. I think it's fine to point to using at least > Cygwin 1.7.35, but if you can live with updating to some 5.2.2 after > 1.7.35 comes out, the workaround in 5.2.1 would be nice. > > I'm still working on performance improvements in the account handling, > but when that's settled, I'm going for 1.7.35. Let's say a week or > two. OK, thanks. I decided to tell people to use 1.7.35 or later. The threading issues are one reason. Another reason is that if the workaround is removed in 5.2.2, 5.2.1 will become a special release that (mostly) worked on older Cygwin versions. I prefer to tell users of old Cygwin version to use xz 5.0.x. -- Lasse Collin | IRC: Larhzu @ IRCnet & Freenode -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple