]> git.lyx.org Git - lyx.git/commit
Fix LyX server on Windows
authorEnrico Forestieri <forenr@lyx.org>
Tue, 7 Aug 2018 15:56:07 +0000 (17:56 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Wed, 8 Aug 2018 11:15:56 +0000 (13:15 +0200)
commit48cd67ebf8f4025ecd57b3c651cf62c0e102a0be
tree5515330cf5ed7d4035f621dd62a32859b1133880
parente1fa3cb248b064f87327ec6530161f1a7e5ade5c
Fix LyX server on Windows

On some recent Windows versions, GetLastError() may also return
NO_ERROR instead of ERROR_IO_PENDING during an overlapped write
operation to a pipe. This was confusing the state machine in
Server.cpp so that replies to commands were scheduled but were
never actually output.

(cherry picked from commit cf5f2661dc0a902e541704172ab369ba3e5a54d6)
src/Server.cpp
status.23x