OS/2 does binary by default, apparently.

Reported by Brian Havard <brianh@kheldar.apana.org.au>.
This commit is contained in:
Richard Levitte 2002-12-29 10:20:01 +00:00
parent 5b9aa0e474
commit 20c9a50710

View file

@ -247,7 +247,7 @@ static long MS_CALLBACK file_ctrl(BIO *b, int cmd, long num, void *ptr)
ret=0;
break;
}
#if defined(OPENSSL_SYS_MSDOS) || defined(OPENSSL_SYS_WINDOWS)
#if defined(OPENSSL_SYS_MSDOS) || defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_OS2)
if (!(num & BIO_FP_TEXT))
strcat(p,"b");
else