delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/11/23/17:37:17

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 23D413858D28
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=optusnet.com.au
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=sender:from:date:to:subject:message-id:mail-followup-to:references
:mime-version:content-disposition:in-reply-to;
bh=4+snORdK47V/BSLn+2CuHIksgBXc64qoNvj9pROsA6w=;
b=napEyCGKhkqg/m0ym5CQEsYsjeQ224P3QeArVAi2o60rCeKwoTJYVg6GZFBxWs03z3
W/G07xqy3qxGw4j9vgPRFOPRtgZOKs7yZcJE/JBXI05zWfLTE+X6/mI1s1aBiLPHwSkP
URJtnm5u3CiY1KbNxrDtJdP9eBcBBFmLQEfaN5O7L6KootBMpFCmfZ0JmHHvUe8D2MWU
7+D6p1PXLj0vGKFPv5NL3agEYWuT21KA1/nXP6gkwSfKGmPxASCV7llSpV4Q+UDaYD34
iGJR3qAbhoUO87pXuIC3/0V6I5bI2KdHHPDMht6m5eWxiU6fxIdFuK+q5BvqDXmdn7Wc
SQ7g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:sender:from:date:to:subject:message-id
:mail-followup-to:references:mime-version:content-disposition
:in-reply-to;
bh=4+snORdK47V/BSLn+2CuHIksgBXc64qoNvj9pROsA6w=;
b=Ef/aRw10hAbG8y3dRvQC0xnVP38ez6SbCBVsAkhKudnNOl+jf039w53auGpE0WSdGO
okFRWBxtl9WYPLstU75YFRyLVl+Je0IQ1N8GbwHpyXrDMt1IqnjZak2fsMeGeQRNHotP
9vCgU3xajxO9ctJ6GC5f6fGxeckMQrcU8LuQMXI7JltvJu8/nErCFON69BnuTSv1Kmcz
rHCfK4s/oFmE9u/6ZHO8s8fKgXEaoDIH7x95eFnwz+CdwDxcpot1mQ3uLc/vjDTv8gX2
j/T6QyCcwf94LfDAoIFea4kpJjxiuHRVWn0Mw3ImXW0bfVcQG6QjZplm3f+DBhxViP4B
UxRQ==
X-Gm-Message-State: AOAM531lw8hkKU5AnopxGbQp0Qdzsu6SvOw5wVgdjbY8F0wHJOXppqfc
gGWVlcXO2VabWnzoD1WuEwyLwFLCwTg=
X-Google-Smtp-Source: ABdhPJy48qUc+746CS4JiC8JDmxw9IgnIC8ngCnsN9LQtZ1jOd9zdWIv+Ba3rY6koSL2Ihf/TAd5zw==
X-Received: by 2002:a63:8ac8:: with SMTP id y191mr615631pgd.438.1637707014857;
Tue, 23 Nov 2021 14:36:54 -0800 (PST)
From: Duncan Roe <duncan_roe AT optusnet DOT com DOT au>
X-Google-Original-From: Duncan Roe <dunc AT slk1 DOT local DOT net>
Date: Wed, 24 Nov 2021 09:36:49 +1100
To: cygwin AT cygwin DOT com
Subject: Re: raise(-1) has stopped returning an error recently
Message-ID: <YZ1tAfzwlW8C84z4@slk1.local.net>
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>
<YZy5bRsZuulb6FUV AT calimero DOT vinschen DOT de>
<42c9bb90-dd78-edfa-99ff-f65f7e000956 AT SystematicSw DOT ab DOT ca>
MIME-Version: 1.0
In-Reply-To: <42c9bb90-dd78-edfa-99ff-f65f7e000956@SystematicSw.ab.ca>
X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT,
FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
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>
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 Tue, Nov 23, 2021 at 11:18:25AM -0700, Brian Inglis wrote:
> 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 don't remember having a problem with it even a few weeks ago.

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

I wasted time on that too. That's why I patched surrogate-pair to not do its 3rd
test if 'uname -s' indicates Cygwin.

For the full story, see https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27555#5

> Do Cygwin and/or Windows support surrogate pairs in UTF-8?

There are 3 tests in surrogate-pair and only the 3rd one failed. So I guess
surrogate pairs in UTF-8 "mostly work".

Cheers ... Duncan.

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