delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/11/23/13:20:40

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 135A93858407
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=SystematicSw.ab.ca
Authentication-Results: sourceware.org;
spf=none smtp.mailfrom=systematicsw.ab.ca
X-Authority-Analysis: v=2.4 cv=FrgWQknq c=1 sm=1 tr=0 ts=619d3072
a=T+ovY1NZ+FAi/xYICV7Bgg==:117 a=T+ovY1NZ+FAi/xYICV7Bgg==:17
a=IkcTkHD0fZMA:10 a=CCpqsmhAAAAA:8 a=w_pzkKWiAAAA:8 a=0rvvQ3U8J1xXTkX_7KcA:9
a=QEXdDO2ut3YA:10 a=ul9cdbp4aOFLsgKbc677:22 a=sRI3_1zDfAgwuvI8zelB:22
Message-ID: <42c9bb90-dd78-edfa-99ff-f65f7e000956@SystematicSw.ab.ca>
Date: Tue, 23 Nov 2021 11:18:25 -0700
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.3.2
Subject: Re: raise(-1) has stopped returning an error recently
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>
<YZy5bRsZuulb6FUV AT calimero DOT vinschen DOT de>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Organization: Systematic Software
In-Reply-To: <YZy5bRsZuulb6FUV@calimero.vinschen.de>
X-CMAE-Envelope: MS4xfIVSa5S4GffowdQ1a0+bI38a6yYoys7jO/G9WVrIwrYHGC3ooC8AjyV83EAfxJiPORx+65mO2Wau3sFPyIeg19+sbxcb1o+foGyShRRXDeiGTu+h44X6
Qcq8dQEl39BgrrHGyWxiGfkLDh/PkZbd/ilNhn3OA60rKsRt05TVyApPztIlbcOpEjLGx07bgJd/hKhfV1yXjbOMgwCiQOzpQtY=
X-Spam-Status: No, score=-1165.5 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL,
RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,
SPF_NONE, TXREP autolearn=no 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>
Reply-To: 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 2021-11-23 02:50, Corinna Vinschen via Cygwin wrote:
> 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).

I had no problems with test-raise last release.
I did with surrogate pairs but after spending too much time on all the 
test infrastructure around that, decided it was a low probability event, 
and wait until anyone complains to refer it upstream.
Do Cygwin and/or Windows support surrogate pairs in UTF-8?

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]

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