public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* raise(-1) has stopped returning an error recently
@ 2021-11-22  5:20 Duncan Roe
  2021-11-22 10:25 ` Corinna Vinschen
  0 siblings, 1 reply; 14+ messages in thread
From: Duncan Roe @ 2021-11-22  5:20 UTC (permalink / raw)
  To: 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 <stdio.h>
#include <signal.h>

int
main (void)
{
  int retcod;

  retcod = raise (-1);
  printf("raise(-1) returned %d\n", retcod);
}

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2021-11-29 10:41 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-22  5:20 raise(-1) has stopped returning an error recently Duncan Roe
2021-11-22 10:25 ` Corinna Vinschen
2021-11-22 13:06   ` Corinna Vinschen
2021-11-23  8:27     ` Duncan Roe
2021-11-23  9:50       ` Corinna Vinschen
2021-11-23 18:18         ` Brian Inglis
2021-11-23 22:36           ` Duncan Roe
2021-11-24  9:25             ` Corinna Vinschen
2021-11-24 18:01               ` Brian Inglis
2021-11-25 12:54                 ` Corinna Vinschen
2021-11-27  7:24                   ` Brian Inglis
2021-11-28  3:04                 ` Duncan Roe
2021-11-26 23:43               ` Duncan Roe
2021-11-29 10:41                 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).