X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2FForkedCalls.cpp;h=f81c1d20a96764889df90f8a4219662543d79cdf;hb=9234516731fac37651f5dacfc0942dc40775b96e;hp=56f7bc9d711e504d99b3efe5c0cb633101a7101d;hpb=db58111360d68f76c5797069a7b80967447d1379;p=lyx.git diff --git a/src/support/ForkedCalls.cpp b/src/support/ForkedCalls.cpp index 56f7bc9d71..f81c1d20a9 100644 --- a/src/support/ForkedCalls.cpp +++ b/src/support/ForkedCalls.cpp @@ -94,7 +94,7 @@ private: pid_t pid_; }; -} // namespace anon +} // namespace ///////////////////////////////////////////////////////////////////// @@ -129,7 +129,7 @@ int ForkedProcess::run(Starttype type) if (pid_ == 0) //we also do this in fork(), too, but maybe someone will try //to bypass that - IAmAChild = true; + IAmAChild = true; return retval_; } @@ -403,12 +403,12 @@ int ForkedCall::generateChild() pid_t cpid = -1; - STARTUPINFO startup; - PROCESS_INFORMATION process; + STARTUPINFO startup; + PROCESS_INFORMATION process; memset(&startup, 0, sizeof(STARTUPINFO)); memset(&process, 0, sizeof(PROCESS_INFORMATION)); - + startup.cb = sizeof(STARTUPINFO); if (CreateProcess(0, (LPSTR)line.c_str(), 0, 0, FALSE, @@ -513,8 +513,7 @@ bool running() return running_; } -} // namespace ForkedCallsQueue - +} // namespace ForkedCallQueue /////////////////////////////////////////////////////////////////////