Originally new-line was suppressed, because double new-line was
observed under wine. But it appears rather to be a wine bug,
because on real Windows new-line is much needed.
Reviewed-by: Richard Levitte <levitte@openssl.org>
wresult[numread-2] == L'\r' && wresult[numread-1] == L'\n') {
wresult[numread-2] = L'\n';
numread--;
- echo_eol = 0;
}
wresult[numread] = '\0';
if (WideCharToMultiByte(CP_UTF8, 0, wresult, -1,
result[numread-2] == '\r' && result[numread-1] == '\n') {
result[numread-2] = '\n';
numread--;
- echo_eol = 0;
}
result[numread] = '\0';
p = result;