mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 09:15:50 +00:00
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:
parent
ccf74578ea
commit
2df7de8620
@ -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>
|
2005-01-20 Angus Leeming <leeming@lyx.org>
|
||||||
|
|
||||||
* filetools.[Ch] (LibScriptSearch): backport the 1.4.x code so
|
* filetools.[Ch] (LibScriptSearch): backport the 1.4.x code so
|
||||||
|
@ -159,7 +159,7 @@ bool ForkedProcess::running() const
|
|||||||
waitpid(pid(), &waitstatus, WNOHANG);
|
waitpid(pid(), &waitstatus, WNOHANG);
|
||||||
|
|
||||||
// Racy of course, but it will do.
|
// Racy of course, but it will do.
|
||||||
if (::kill(pid(), 0) && errno == ESRCH)
|
if (lyx::kill(pid(), 0) && errno == ESRCH)
|
||||||
return false;
|
return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user