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=ZvmNS8Z4115uNTh9XvJrTW9YwrM8yRvlxrt4VKqUjTX0pUt+btYzd uudTZAzoseM0NK85EJBLXmFIKZkH2LGN3AP6W1eKpzuRtjsRQSeFnfvLBGT1FJcG RTl59p1KYh6SfsglYu0Umv9nhwdiEGoiILo5ZIR4mv0cb2wnmbr84o= 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=yf8pg9+sEWdzCxTfrMwRIr09nE0=; b=WGwloQ6RuaXn/8ZYgIbvw7UUIgJ+ aUJxraH+YM4bRLhzwOiz2xnYf9B911GSBN+LtjfqoNXSzfzQNSFLDEtRa6RboHNp 1a6Plr7tPg24HcaxBLdEgAnlUMm6rs4omPiMwteWt2BV6kc6LyjAomvkHbikomuT /+RsBy0O4buWEPY= 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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Mon, 23 Feb 2015 13:42:39 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: cygwin64: Issue with sigaddset Message-ID: <20150223124239.GN437@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ztcJpsdPpsnnlAp8" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) --ztcJpsdPpsnnlAp8 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Richard, On Feb 21 16:17, Richard Elberger wrote: > Hello, >=20 > I found this while trying to compile perl 5.20.1 on latest cygwin64 > (just updated yesterday). >=20 > Effectively, sigaddset is adding a signal along these lines. If > signal x is less than 32, then two signals are added: x and x+32. If > signal x is greater than 32, then again two signals are added, x and > x-32. >=20 > It=E2=80=99s been far too many years since I=E2=80=99ve written C but the= attached > code snippet to prove it (hopefully it proves it) =E2=80=A6 and running t= he > same =E2=80=9Ccode=E2=80=9D (I put that in quotes because it=E2=80=99s li= ke preschool C) on > any Linux works as expected - just adding the one signal. >=20 > This is causing the sigset.t test for the POSIX module in perl core to > fail. There are a ton of other failures in testing 5.20.1 core but > hopefully they=E2=80=99re not all cygwin related like this one. Thanks a lot for the testcase. I fixed the problem (an int overflow computing a bit mask) in CVS. I'll generate a developer snapshot on https://cygwin.com/snapshots/ and probably another Cygwin 1.7.35 test release soon. Both will contain that patch. Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --ztcJpsdPpsnnlAp8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJU6yA/AAoJEPU2Bp2uRE+gXEUP/3l5b3qDtPOTtzURSKLhk5HY Pobwv0L99JsMl60O0vpR34raN2k1IQeQanDidYoD5oAwXDAlXgdUfSQnzMsIZ9YV QgKr7+Z2+rF8EPNguuzp5W4tohtrNGf47D5Et1Rl5F6I/+p2n3IebP5R0m4KO4z4 vB3kS9qmDcAfx62pJo8C7bD48edUxBmrJ/fVQlf0EyOouM8myF3az8OaP7q3h4Z0 2ElUD0fM2lXhn6w89cHAK4a7Mi/pZe4QrcIYL2DB8XRFl0IzO6z+wXXwhU/MjRjG qrBvgGO/i66d1v49j/8o6XdeVVC3B/wS3A/nftWl262MEMakoaSYwKHljc1s8Nj0 rTft2xjeXAFNPiUZQuWnyywns5Lt6yXyPtCUSUSMYzRCRN/iqQSY5Sz2IN7gQEJN TNJDI/sXlpyTq9WqyY8UB+xZXK1VZxKqGVl+XI4KT6EzNwQycAh9tPtecp2ab8VI T5BxYThcRgEMakSWJL/cTLiHdr3ssN+SjoyjkrPW6GGQJ3L4hcioPF6l0VSYSm4A YhEaMImanIy2r3y7AkdYb7j54ZkwB/dimTYqkOOeKCLawHddXO/0U8MweyyAvLPB rOvsTmK8Hmas3vEikGSW7662InEigGVNzK3jscvs37SK3SmL0asBPTV205I1KRK2 5IWRXWxLE/BbMBmxFDLW =Fn7J -----END PGP SIGNATURE----- --ztcJpsdPpsnnlAp8--