https://bugs.winehq.org/show_bug.cgi?id=37744
Bug ID: 37744 Summary: msvcrt: signal() should set errno to EINVAL Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcrt Assignee: wine-bugs@winehq.org Reporter: s.wanabe@gmail.com Distribution: ---
http://msdn.microsoft.com/en-us/library/xdkz3x12.aspx http://source.winehq.org/git/wine.git/blob/HEAD:/dlls/msvcrt/except.c#l190
According to MSDN, signal() will be set errno to EINVAL when passed signal is unexpected. I guess Wine should do too, shouldn't it?