]> git.lyx.org Git - features.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>
Tue, 7 Aug 2018 15:56:07 +0000 (17:56 +0200)
commitcf5f2661dc0a902e541704172ab369ba3e5a54d6
tree1dce54bf80d94be9c81004245168daebbd38b298
parentab72f9459501838f01f993c584c450997355678e
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.
src/Server.cpp