From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 53743 invoked by alias); 8 Jan 2016 16:29:10 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 53719 invoked by uid 89); 8 Jan 2016 16:29:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-101.9 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,KHOP_DYNAMIC,RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,USER_IN_WHITELIST autolearn=no version=3.3.2 spammy=Maintainer, DOT, Hood, H*MI:sk:568EABD X-HELO: calimero.vinschen.de Received: from ipbcc0255e.dynamic.kabel-deutschland.de (HELO calimero.vinschen.de) (188.192.37.94) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 08 Jan 2016 16:29:09 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id D2135A80419; Fri, 8 Jan 2016 17:29:06 +0100 (CET) Date: Fri, 08 Jan 2016 16:31:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Cc: John Hood Subject: Re: cygwin.dll: bug with select on Windows console Message-ID: <20160108162906.GJ20447@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com, John Hood References: <5680953B.8050200@glup.org> <20160107173034.GE20447@calimero.vinschen.de> <568EABDC.1050606@glup.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HcccYpVZDxQ8hzPO" Content-Disposition: inline In-Reply-To: <568EABDC.1050606@glup.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-SW-Source: 2016-01/txt/msg00077.txt.bz2 --HcccYpVZDxQ8hzPO Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1683 On Jan 7 13:18, John Hood wrote: > Sorry about forgetting the testcase (which was good, actually, that > version had a bug). I've attached it here. This takes a single > argument, the timeout value for select() in microseconds. A value of > 1000000 is fine for testing this issue. Type at it, or just bang on the > keyboard with random keystrokes, and it will report the results from > select() and the characters read. On a Windows console, it should > report an error within a few seconds. Moving the mouse cursor over the > Windows console window while typing seems to provoke the error as well.=20 No chance. I tried this for a good hour now with the unpatched Cygwin DLL on 32 bit W7 and 64 bit W10 in 32 and 64 bit in a Windows console, and I can't provoke this error. It just works for me. > On mintty or any other pty, the error never occurs. >=20 > I've been unable to build Cygwin from Git on my 32-bit install on Win7, > thanks to various header mismatches and missing packages-- I think the > latest was a mingw-gcc header, but I can't check that machine now. The > FAQ entry on how to build Cygwin is quite incomplete. Are there any > better directions for building Cygwin? What exactly is failing? If you installed all the packages mentioned in the FAQ entry, plus building outside the source tree as outlined, you should be fine. Alternatively, install the cygport package and the 2.4.0-0.16 source package and build that via cygport cygwin.cygport prep compile That should get you started. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --HcccYpVZDxQ8hzPO Content-Type: application/pgp-signature; name="signature.asc" Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWj+PSAAoJEPU2Bp2uRE+grpIP/1eBkieyUem8X4hx1Mcjp8xH +aYjkJrzNtSNPZav1Ztdas+2qE2vjssr5bta87sjjQTGzC8lchat9TboBNuAt8HX Clit35ODL+VEyzoFoc9bMzQkp67mldCf8TU0lLVDCLRzpfMTs4/MgUMmujGYeqb0 CoWDCLzTvPD5z/woXTKeUcFlzjTNHlctsQ4KbGwX5igCr9UGcIRAFK7MPHzbgZH7 QOjpbzmlm971mAjgbvGShA1Tm+xH9Ll3j16dNCi8Os2OnNRY6kyfh95PvL14sF/9 6qNMeI3jmpNvVZmEC29NIFd10xeAkA9wO5wYRglx2M2ib3UVgr8PJoI66cP1zR2a SnzwXdz5WJD47HFAsrgi2mNy2ko7pWrbE3cLa6DvzwzawfBXnu/3vEiSMZea8Snc 78VzIXdI8jjIX5tW/FBWsPKXF79ACBaq68t/3HymQLD3DfYRgLsQPJa1ixhF7xT7 /Dmbbb00EM6EUPda9tyJceXknB+LHPdkrDOwnp3j2tMPZ+RN/0seUbzLJhSGV8D2 9LMXrJHbQWMcc/J13U2aISPJwfuPnULv4t20C85KUJtUTfXI7+2ImoF0Fy/RavdK vewCM0CkAYwYeugsbD31meFzETg1uZnxIDlVMuTpn8CCJXxe/YY2qk0bq/oVUYab ngcvl1M3rkhDjBc/tE+s =at2J -----END PGP SIGNATURE----- --HcccYpVZDxQ8hzPO--