提交 bc8d23c6 编写于 作者: A Alexis Campailla

Merge branch release-2.8.17 into 2.8

......@@ -1248,6 +1248,11 @@ static void pipeMode(void) {
char magic[20]; /* Special reply we recognize. */
time_t last_read_time = time(NULL);
#ifdef _WIN32
/* Prevent translation or CRLF sequences. */
setmode(STDIN_FILENO,_O_BINARY);
#endif
srand((unsigned int)time(NULL));
/* Use non blocking I/O. */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册