* thread.cc (semaphore::_fixup_after_fork): Fix Win32 error output in
api_fatal call.
This commit is contained in:
parent
fee05a2380
commit
04ea60440a
|
@ -1,3 +1,8 @@
|
||||||
|
2012-08-14 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* thread.cc (semaphore::_fixup_after_fork): Fix Win32 error output in
|
||||||
|
api_fatal call.
|
||||||
|
|
||||||
2012-08-14 Christopher Faylor <me.cygwin2012@cgf.cx>
|
2012-08-14 Christopher Faylor <me.cygwin2012@cgf.cx>
|
||||||
|
|
||||||
* errno.cc (errmap): Keep sorted.
|
* errno.cc (errmap): Keep sorted.
|
||||||
|
|
|
@ -3523,7 +3523,7 @@ semaphore::_fixup_after_fork ()
|
||||||
this->win32_obj_id = ::CreateSemaphore (&sec_none_nih, currentvalue,
|
this->win32_obj_id = ::CreateSemaphore (&sec_none_nih, currentvalue,
|
||||||
LONG_MAX, NULL);
|
LONG_MAX, NULL);
|
||||||
if (!win32_obj_id)
|
if (!win32_obj_id)
|
||||||
api_fatal ("failed to create new win32 semaphore, error %d");
|
api_fatal ("failed to create new win32 semaphore, %E");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue