Merge branch release-2.8.17 into 2.8

This commit is contained in:
Alexis Campailla
2015-01-06 14:40:16 -05:00
+5
View File
@@ -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. */