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 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 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) 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-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 AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" 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); } -- 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