delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/11/23/04:51:34

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8D6CE3858033
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1637661093;
bh=UTT1CsbPStP5B4Uf26f+1r+zwnr4gbolWvdjpPiBD7s=;
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=t25mb6E0KiEJ9/rOzpS3APw9TCInzWPEanMGuYMAELWugyDRC4nK8MNUceAuJrsSX
zPGNwYHPWYuGpLwmau/zUi/xjG/tZJKopTzpGfBeM01mmmB0XrCRGEhyZ3UmPg7iis
XYHIrELMKJEHNZK/tUs+c1SbtWfTK+oT+ohbnnvE=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 33AD6385840B
Date: Tue, 23 Nov 2021 10:50:37 +0100
To: cygwin AT cygwin DOT com
Subject: Re: raise(-1) has stopped returning an error recently
Message-ID: <YZy5bRsZuulb6FUV@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <YZsoj6UvpF6pcbtt AT slk1 DOT local DOT net>
<YZtwMZ1LUbx+b5+s AT calimero DOT vinschen DOT de>
<YZuVy5+nbzPtiqdw AT calimero DOT vinschen DOT de>
<YZyl69ODRcBVnMed AT slk1 DOT local DOT net>
MIME-Version: 1.0
In-Reply-To: <YZyl69ODRcBVnMed@slk1.local.net>
X-Provags-ID: V03:K1:N58PEjaqPaWKd16YGc3BDhNM8UgTqNfFkx+7pHPH/oJr3HUQt7m
fJJAt4IaG/6HODAj/JN1VaNS1RnGXWZr8+OSe3URLGkfgzR18odHEjGMLDM+UH54yd5B6nm
i2ACRtxvuhswmw+U+LV+taXbQPJneH0I3DPhYXqd7TYaWY1PksTZEVZoJnKDZBI1FrGe6Oi
cSZspLLyd9XWoeD9qU+hg==
X-UI-Out-Filterresults: notjunk:1;V03:K0:JBZ0gL1sud4=:WHsNOaKIoGp3RmVw4py0x2
WpnwS/h029mYf8J76RwGa90nR5MYxMx2dVJfYvaydkY9UlyZg1mSra0plip6yQMX7xwnrh78H
EvIvwhP6UdA4dUlUyTxB0eAMgPv/2Tw4cp2PQFi0IbYixMAHg0Tj6007Q/pqKvI8dhOhVRBrv
igl8WAWwhJRJ8zCNYDZK8RUQMUx0COYOa8iC+wv/Iw20+KP9L/k5S0fnez22SbL1Kbryf6Iw5
mJdS7COMTTeZ5poIOyK5AAw3100nim52MEjs0BPrERqvtsEW+1kU9YiD73bB0f2H399t4kYXV
tMQ6GpKeUKAcONZrzPG8uC2SWyfbNY7cupMc7s/wNDxMdPoKcMKgt0SdOCBdsXZypCLuj1Lep
9htFcv7MQmQMXFkbrWpYeokqIXQ/NAjaA/3Pfi3mjTOlMjijM7LrqUNpovYjwndAW19aIATB7
ovvSnmN2eE2x3bvfF4eu0Kj/vuPmg/MKR+H4jAgFTj6k4t2LmgJTtVHlaDyZ2U6sP5kh3GtdR
l+90w7EHG+/dQU9mfLub8EqNrKELsgTBoPUmMHEy5jLdV+/rQkXkweymQ0gakYM687SJbABex
Ra/TCMJa67ErHYM1aWSo/SiMd39+lJ9kpptKdRo0M6pgfW99HSoyRyjooMgQpdMkfPArjoJHb
CNEcKO/kG6jX43IebSScml36/EJDJ5509Kz1ppiaQiL6d3fMD4cSADjBD7TCvsGUIvpwA7Yv3
rChCfDmLTaKvK5/F
X-Spam-Status: No, score=-99.4 required=5.0 tests=BAYES_00,
GOOD_FROM_CORINNA_CYGWIN, KAM_DMARC_NONE, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H2,
SPF_HELO_NONE, SPF_NEUTRAL,
TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On Nov 23 19:27, Duncan Roe wrote:
> On Mon, Nov 22, 2021 at 02:06:19PM +0100, cygwin wrote:
> > On Nov 22 11:25, Corinna Vinschen via Cygwin wrote:
> > > On Nov 22 16:20, Duncan Roe wrote:
> > > > #include <stdio.h>
> > > > #include <signal.h>
> > > >
> > > > int
> > > > main (void)
> > > > {
> > > >   int retcod;
> > > >
> > > >   retcod = raise (-1);
> > > >   printf("raise(-1) returned %d\n", retcod);
> > > > }
> > >
> > > Thanks for the STC.  There are actually two long-standing problems,
> > > one in raise, calling pthread_kill even for non-threaded processes,
> > > one in pthread_kill, not checking the signal number.
> > >
> > > I'll patch them right away.
> >
> > I created a patchset:
> > https://sourceware.org/git?p=newlib-cygwin.git;a=commitdiff;h=d54d8f173d66
> > https://sourceware.org/git?p=newlib-cygwin.git;a=commitdiff;h=24bffff63eb7
> > https://sourceware.org/git?p=newlib-cygwin.git;a=commitdiff;h=afb7c557d2af
> >
> > Please test the latest developer snapshot from http://cygwin.com/snapshots/
> 
> Thanks, that fixed it.

Thanks for testing.

> Btw to whoever maintains grep for cygwin: 'make check' should pass on
> next release (I patched out the surrogate-pair failre).

Great!  Brian?


Thanks,
Corinna

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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