From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by sourceware.org (Postfix) with ESMTPS id D505F3858406 for ; Mon, 22 Nov 2021 05:20:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D505F3858406 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 Received: by mail-pg1-x535.google.com with SMTP id q12so14294326pgh.5 for ; Sun, 21 Nov 2021 21:20:20 -0800 (PST) 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 :mime-version:content-disposition; bh=M8ZMtKxaVhUPtqwliprdW8Pl/Q9/RllALSrt5tSLSs0=; b=ZqezQF0ppPIgBgjDVzADduRHIuYt/2Ox/tWj2NUSzWEKc8nThE4uLy5tXBRJ88DVyv 3H/7TTDyoWNo0O5eNqS2ON2qo7+CbMcyIXTrQNOYSaecm2IHgcqjoeQIFD/JtWZ4lXfG cRhPNKpCLm7nRMYGsdS1vcA/zp5B0IS2sIR/M//4F8WBQQUH3x8m2buf6ifAyUQfNsT4 sXzIfoRdQ30zsGNivvJQh9zBDSd08GeAY+JtXVIHQy8eBeC+vV6LflZ8mSzyFs6Uwcvr jl7v4BYPIOjahwu7bmy9nfPPI5gQwF/9pBKizieXqJ/6ef4A7Qhdo4liT2rwpMC1xdBt 3j3Q== 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:mime-version:content-disposition; bh=M8ZMtKxaVhUPtqwliprdW8Pl/Q9/RllALSrt5tSLSs0=; b=swgyffWCIM9vfSI2DoZcer3KG7JIycxD7rk9wJXt1iax2Atuw/sS1+TS2C+WGjZIJf zd3M4HFS17pyFlUYKBnD7w1KiZBkOWd8GfP8gsagEonMF9478gR4fNERZDzyQ5y3QyWk beIZxzQYZrQYUiwllGtVrlkNTw9KVVhYM4aswofmrfATv94DMg1Xn9ozeQcdDZ6Y/aqu 5+YlkS/M5KFCcs90CX5BX1FpC3KNdu12N2DpPEU5hX/e5juhNcCom9HjEpes0ZlWmdYx Y+dyTgrT2AQlBRSy61c0NgdCReJBF6xWsUikGoO4Wmc1ljwj0/PxJVUthuXZXV2WSVed Gcuw== X-Gm-Message-State: AOAM532rFLAvKhCfkKlq3J8yAkhJ1bJ6S1aSh7+1lXAgnFOQ4it1Ki4i 052ot+jF7DlkczvIxnpdhJkCkYjje3U= X-Google-Smtp-Source: ABdhPJzJLuG2qYfXUrzIhLLOs2nx/zYjsOG7eYKxTehkxpcnwNs7g0+jSobjPSy4N1a7TYYCv+4ZWA== X-Received: by 2002:a62:7a54:0:b0:494:6e78:994b with SMTP id v81-20020a627a54000000b004946e78994bmr42001002pfc.5.1637558419581; Sun, 21 Nov 2021 21:20:19 -0800 (PST) Received: from slk1.local.net (n110-23-108-30.sun3.vic.optusnet.com.au. [110.23.108.30]) by smtp.gmail.com with ESMTPSA id j7sm6753055pfu.164.2021.11.21.21.20.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Nov 2021 21:20:19 -0800 (PST) Sender: Duncan Roe From: Duncan Roe X-Google-Original-From: Duncan Roe Date: Mon, 22 Nov 2021 16:20:15 +1100 To: cygwin Subject: raise(-1) has stopped returning an error recently Message-ID: Mail-Followup-To: cygwin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2021 05:20:23 -0000 Hi, I stumbled across this when running 'make check' in the grep source directory. test-raise failed when it didn't a few weeks ago. I cut it down to the STC at the end of this email Under Linux: > 16:15:57$ ./test-raise > raise(-1) returned -1 Under Cygwin: > 16:16:51$ ./test-raise.exe > raise(-1) returned 0 Hope this is nothing too complicated, Cheers ... Duncan. ======================== #include #include int main (void) { int retcod; retcod = raise (-1); printf("raise(-1) returned %d\n", retcod); }