]> git.lyx.org Git - features.git/commitdiff
Use our wrapper for the posix kill() function.
authorAngus Leeming <leeming@lyx.org>
Thu, 3 Feb 2005 14:55:33 +0000 (14:55 +0000)
committerAngus Leeming <leeming@lyx.org>
Thu, 3 Feb 2005 14:55:33 +0000 (14:55 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9580 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/ChangeLog
src/support/forkedcall.C

index fb71ade2aa35d9006c86b3e46d07ed669fca2b02..ff0ae18346fe3c0788d7a56e96ca3f8d380abe9a 100644 (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
index 5fb660e76132684c9edb14d34b587decc22a6c8c..9f416959e7f8c405ba656113f2a026fe9fe4059b 100644 (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;
 }