mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 21:05:12 +00:00
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:
parent
76b8d1b25f
commit
dc9f6d57d9
@ -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>
|
2005-02-02 Angus Leeming <leeming@lyx.org>
|
||||||
|
|
||||||
* forkedcall.C (generateChild): overhaul the code to split a string
|
* forkedcall.C (generateChild): overhaul the code to split a string
|
||||||
|
@ -158,7 +158,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::support::kill(pid(), 0) && errno == ESRCH)
|
||||||
return false;
|
return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user