There are some popular operating systems that don't let you do
        FILE* fp = fdopen(getdtablesize(), "r")
:)  Those are buggy C libraries -- even Sun has said it's a bug, just
that they weren't going to fix it.

The question is how much work is involved for OpenSSL to be able to work
around those bugs?  A quick grep for fopen and fdopen shows a handful of
places, and for BIO_new_file shows a few more.

I'd suggest that all fopen and fdopen calls be replaced with BIO's, and
that bio/bss_file.c be rewritten to use file descriptors, not FILE*'s,
perhaps as a compile-time option.  (This would also remove the FILE* and
win32 DLL issues)
Anyone looking for a reasonable fgets-style interface on top of
open/read can find in on INN... :)
        /r$
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to