Use our wrapper for the posix kill() function.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@9581 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2005-02-03 14:56:11 +00:00
parent ccf74578ea
commit 2df7de8620
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-02-03 Angus Leeming <leeming@lyx.org>
* forkedcall.C (running): call the lyx::kill wrapper function
rather than the system kill.
2005-01-20 Angus Leeming <leeming@lyx.org>
* filetools.[Ch] (LibScriptSearch): backport the 1.4.x code so

View File

@ -159,7 +159,7 @@ bool ForkedProcess::running() const
waitpid(pid(), &waitstatus, WNOHANG);
// Racy of course, but it will do.
if (::kill(pid(), 0) && errno == ESRCH)
if (lyx::kill(pid(), 0) && errno == ESRCH)
return false;
return true;
}