On Wed, Sep 06, 2000 at 09:30:47PM +0200, Richard Levitte - VMS Whacker wrote:

> Let me verify that I got this right: you would like it to use an
> initial buffer (an array on the stack), and start using the heap only
> if the output is too large for the initial buffer.

Yes, exactly.  This will add some code complexity in what survives
the preprocessing stage (i.e. if you ignore the part that is disabled
by #if), but the source code file as a whole shouldn't suffer in
readability.  And we'd have the advantages of both approaches --
efficiency for small strings, but no truncation for long ones.


-- 
Bodo M�ller <[EMAIL PROTECTED]>
PGP http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/moeller/0x36d2c658.html
* TU Darmstadt, Theoretische Informatik, Alexanderstr. 10, D-64283 Darmstadt
* Tel. +49-6151-16-6628, Fax +49-6151-16-6036
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to