delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/23/07:59:22

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:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; q=dns; s=default; b=YcYPtEW5E8jBS4DkL3X2YjpxNulI
SUGMvgLIx7D/GrNNWAWpMgDXXJGjlzK7f9Ln+m10MDlomDnXE26m5PxLh2S72lxs
QoY7zChPTH6orWzFuFsSGffcu+oWkq0ezNbomf66JeCzKSJKPUIkjUQ7WIN0/M5J
B7AwFjmLZbwG1K4=
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:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; s=default; bh=oVfdpC0nRJc7L3cfIn05mVgKZnE=; b=Ax
fFqj6DcVflLnrAU5BhTvGSMbiGdJhb8bzvurLWbARsCHberEu/ogLHl9zlts0/kT
5/d8sJ91pz2kaWPcywl99cbtAqBL4KDEREdRvM4naDf0RmiNrTCO0jtFw+Drk0XV
9jojOqelK9O0ZHdBXvk71SnZk+U/j5fuYXXVBwBbA=
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.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
X-HELO: p3plsmtpa08-03.prod.phx3.secureserver.net
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\))
Subject: Re: cygwin64: Issue with sigaddset
From: Richard Elberger <rich AT richelberger DOT com>
In-Reply-To: <20150223124239.GN437@calimero.vinschen.de>
Date: Mon, 23 Feb 2015 07:59:00 -0500
Message-Id: <6627A2BA-85A0-47F4-A8AC-BB8EC4A0D456@richelberger.com>
References: <B7278424-8EBE-4119-9F02-F68CB98388A3 AT richelberger DOT com> <20150223124239 DOT GN437 AT calimero DOT vinschen DOT de>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t1NCxGNR016235

Awesome ;)  Thanks so much I will keep a look out for it and verify on my end that the perl unit test works as expected.


> On Feb 23, 2015, at 7:42 AM, Corinna Vinschen <corinna-cygwin AT cygwin DOT com> wrote:
> 
> Hi Richard,
> 
> On Feb 21 16:17, Richard Elberger wrote:
>> Hello,
>> 
>> I found this while trying to compile perl 5.20.1 on latest cygwin64
>> (just updated yesterday).
>> 
>> 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.
>> 
>> It’s been far too many years since I’ve written C but the attached
>> code snippet to prove it (hopefully it proves it) … and running the
>> same “code” (I put that in quotes because it’s like preschool C) on
>> any Linux works as expected - just adding the one signal.
>> 
>> 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’re 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
> 
> -- 
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Maintainer                 cygwin AT cygwin DOT com
> Red Hat


--
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


- Raw text -


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