Commit 856d0511d63bd791b4a18df0c3ffc80b8e47c470

kinichiro 2019-07-28T19:03:27

Use posix_win.c functions on WIN32 - read() returns bytes count as 1 for crlf unless binary mode isn't specified with open(). Reported by @ulfworsoe in libressl-portable#542 - err could be WSANOTINITIALISED when WSAStartup() is not called