+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
2005-02-02 Angus Leeming <leeming@lyx.org>
* forkedcall.C (generateChild): overhaul the code to split a string
waitpid(pid(), &waitstatus, WNOHANG);
// Racy of course, but it will do.
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;
}
return false;
return true;
}