diff --git a/src/support/ChangeLog b/src/support/ChangeLog index 315a310736..cae26d10ef 100644 --- a/src/support/ChangeLog +++ b/src/support/ChangeLog @@ -1,3 +1,8 @@ +2005-02-03 Angus Leeming + + * forkedcall.C (running): call the lyx::kill wrapper function + rather than the system kill. + 2005-01-20 Angus Leeming * filetools.[Ch] (LibScriptSearch): backport the 1.4.x code so diff --git a/src/support/forkedcall.C b/src/support/forkedcall.C index eff8182530..39063f02a5 100644 --- a/src/support/forkedcall.C +++ b/src/support/forkedcall.C @@ -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; }