delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/12/03/05:33:24

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:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=SR7YEZwB2w12hwBthswJPzzP6DZGPz9Y+8wH5N+fkcKJoj/Hm8VCZ
qc46aIEIPGo8KhdMOD1DH+/eoLOVJ986/K3eVwe938pgVnmbMz/LILWGbDozXweZ
j81bXCeHgQGWN7m5z0fCfGpwxEqR31FGRcUiOflmMN09xSpFAV5lGM=
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:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=adKs3PrsL5BeOvU4hdywWnqpD9c=; b=eVoTevYIV2qzPUM91TzHWTiJ2KdK
EFCKzwoLC723hjPRCl61zIs4NHiLMcoGWe4v2iN/7XpWOwZKdP5pBifo2nH3viM1
/7LtJohvsqtftVUg+AD0WfdOozLZZNaqOFQFZQ0DwpdSz9DkaQdKlWBMoVlh/Ytx
T/1ucChkqOTw228=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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.5 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,URIBL_BLOCKED autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Tue, 3 Dec 2013 11:31:29 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: emacs-x11: new clipboard size limitation?
Message-ID: <20131203103129.GG11800@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <ac98a224051c2e59d2a1a0d455717531 AT mhoenicka DOT de> <529C8716 DOT 7020601 AT dronecode DOT org DOT uk> <20131202141740 DOT GC11800 AT calimero DOT vinschen DOT de> <529C9F81 DOT 5060900 AT dronecode DOT org DOT uk>
MIME-Version: 1.0
In-Reply-To: <529C9F81.5060900@dronecode.org.uk>
User-Agent: Mutt/1.5.21 (2010-09-15)

--mrJd9p1Ce66CJMxE
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Dec  2 14:56, Jon TURNEY wrote:
> On 02/12/2013 14:17, Corinna Vinschen wrote:
> > On Dec  2 13:11, Jon TURNEY wrote:
> >> What you write does seem to support the theory that this is a regressi=
on in
> >> select() in the cygwin DLL.  It might be useful if you could say what =
version
> >> of the cygwin DLL you had when it was working correctly before you upg=
raded.
> >>
> >> [1] http://cygwin.com/ml/cygwin-xfree/2013-10/msg00031.html
> >> [2] http://cygwin.com/ml/cygwin-xfree/2013-11/msg00012.html
> >=20
> > Are you sure this is a select problem?  If so, can you create an STC,
> > perhaps?
>=20
> "Only a madman is absolutely sure".  I'm afraid the best test case I have=
 a
> the moment is:
>=20
> Install xorg-server-debuginfo
> Start XWin -noclipboard -multiwindow
> Start xwinclip under gdb, and place a breakpoint at wndproc.c:133, and ru=
n it
> Start emacs-x11, open the Shakespeare text from [1] in a buffer
> Open notepad
> Copy and paste the text from the emacs buffer into notepad
> The breakpoint is hit.  Notice that select() has returned 0, the read rea=
dy
> fd_set is empty and the timeout hasn't expired. I claim that the read rea=
dy
> fd_set should indicate that the X connection socket is ready.

Well, that's not exactly an STC...

So, IIUC, you're saying that, in fact, select doesn't return too early,
rather it returns without setting the return value correctly.  You
expect it to return a value > 0, right?


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--mrJd9p1Ce66CJMxE
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)

iQIcBAEBAgAGBQJSnbMBAAoJEPU2Bp2uRE+gaawP/3N8FnycaEqSIVG+tHDyaeJJ
aqsvOOjyzbBp9tt9DNoN+rFTecXowl4FtCFR/50eznqVsYBvnuJHhSGFYqRRshpO
XijCHuKuwUtZaVjzhy8ih2BGVm7+GD6U/sPgB77aNayAMWYwT7MvB45akiFJMVHq
R6YIH1QEe50O82PjdeOgadkLpNYguzmxPruUWoutWZ1EP3tMQsKmsTaZpDV8wYep
LKDolnHCdurJjvRaP2zkulgcC1AGfKOSEIMraUgoEkRs1wQ8/cTyPLzXwdmk5XvA
dwOUiilHB4KtvuwAw0VgCxv1CU0mdtbQmJs/zOXjku4ZzTq29H6br9Qt4zTArQC6
lZm7cEvBYlmTpmaAZxCL4GmR0AnbLAUNfd21nWZcZlLawccQRgRVrtLSdUtuDqm4
G16esFo3oFCC+JPsVP5z2zdILECcxVqI6mr+aD0YEoXSo+epRQPIuE1b3iOsLYVq
0kfOECkz3g7X5ik5sFis8nl/FAtPuBj2dqNuQRGTBBgPqfTZBJRRpT91h2TZIbDW
LAGxYI3tWkp8r+1kSQH6oiK8dxs9BxGk/W7paH2CQTUWbOmE1Eetv5dt27sRNUzU
l4ARS3wfK2CptQ9un9sHZvR/6krorZ0l+D4lEVLp/hg1yJm+sH7Dcmv2tozwaPaf
MoqV8qAAfEURHFDZees3
=Sha8
-----END PGP SIGNATURE-----

--mrJd9p1Ce66CJMxE--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019