Applied kill patch (proper return value testing).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2004-11-24 14:38:49 +00:00
parent fc84bd0570
commit a9e003065d

View File

@@ -203,6 +203,9 @@ void wxMilliSleep(unsigned long milliseconds)
int wxKill(long pid, wxSignal sig, wxKillError *rc)
{
int err = kill((pid_t)pid, (int)sig);
if ( !err )
*rc = wxKILL_OK;
else
if ( rc )
{
switch ( errno )