X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Fkill.cpp;h=110becd1ab75ac69ba6fa619263e51cd1249ac3c;hb=8e4648f38c2b6051832faf2e31e280ba36e3184a;hp=f3ee53dd2c5f25d259af689e669082a8b4089ad6;hpb=897436efbb9bd641b61467d185a2dfae9839e575;p=lyx.git diff --git a/src/support/kill.cpp b/src/support/kill.cpp index f3ee53dd2c..110becd1ab 100644 --- a/src/support/kill.cpp +++ b/src/support/kill.cpp @@ -3,7 +3,7 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author Lars Gullik Bjønnes + * \author Lars Gullik Bjønnes * * Full author contact details are available in file CREDITS. */ @@ -18,8 +18,8 @@ #include #ifdef _WIN32 -#include "debug.h" -#include "os.h" +#include "support/debug.h" +#include "support/os.h" #include #include @@ -34,11 +34,11 @@ int support::kill(int pid, int sig) return -raise(sig); HANDLE hProcess = OpenProcess(PROCESS_ALL_ACCESS, TRUE, pid); if (!hProcess) { - lyxerr << "kill OpenProcess failed!" << std::endl; + LYXERR0("kill OpenProcess failed!"); return -1; } if (!TerminateProcess(hProcess, sig)) { - lyxerr << "kill process failed!" << std::endl; + LYXERR0("kill process failed!"); CloseHandle(hProcess); return -1; }