Use our wrapper for the posix kill() function.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9580 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2005-02-03 14:55:33 +00:00
parent 76b8d1b25f
commit dc9f6d57d9
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-02-02 Angus Leeming <leeming@lyx.org>
* forkedcall.C (generateChild): overhaul the code to split a string

View File

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