fork handler for parent process called in both parent and child process

2013-09-25 Thread Andreas Steenpass
Please consider the following testcase: #include #include #include// compile with -lpthread or -pthread void atfork_prepare() { printf("atfork_prepare, pid: %d\n", getpid()); } void atfork_parent() { printf("atfork_parent, pid: %d\n", getpid()); } void atfork_

sigpending() crashes

2012-12-17 Thread Andreas Steenpass
A few days ago, I posted a bug report on this mailing list, see http://cygwin.com/ml/cygwin/2012-12/msg00155.html There hasn't been any reply to it. Maybe I should have started a new thread, maybe it was just too much at once, I don't know. But I still think that this needs to be fixed, so I just

sigpending() crashes

2012-12-17 Thread Andreas Steenpass
A few days ago, I posted a bug report on this mailing list, see http://cygwin.com/ml/cygwin/2012-12/msg00155.html There hasn't been any reply to it. Maybe I should have started a new thread, maybe it was just too much at once, I don't know. But I still think that this needs to be fixed, so I just

Re: sigpending() crashes

2012-12-17 Thread Andreas Steenpass
On 17/12/12 11:57, Corinna Vinschen wrote: > Does it still occur with the latest snapshot? No, it seems to be fixed now. So thanks for the fix, whomever the credit goes to. Anyway it would have been nice to be notified. Are there plans when to release the next version of Cygwin? Regards, Andreas

'make check' fails

2013-01-23 Thread Andreas Steenpass
I check out the Cygwin sources from the CVS and left everything unchanged. Then I followed the instructions on how to build Cygwin which I found here: http://cygwin.com/faq/faq.programming.html#faq.programming.building-cygwin Everything went through smoothly including make install. But now, when

Re: 'make check' fails

2013-01-23 Thread Andreas Steenpass
On 23/01/13 15:01, Christopher Faylor wrote: >> Does anybody have an idea how to fix this and to run the tests? > You can't. The test suite is bit rotted and hasn't worked in a long > time. Oh, thank you for pointing this out. Maybe I wanted to do it too correctly in this case. I would suggest t