kris> > int BIO_printf (BIO *bio, ...)
kris> >         {
kris> >         va_list args;
kris> >         char *format;
kris> >         int ret;
kris> >         MS_STATIC char hugebuf[1024*2]; /* 10k in one chunk is the limit */
kris> 
kris> Hmm, isn't this comment wrong? 1024*2*sizeof(char) = 2k, not 10k.

No.  I remember there being a 10K limit on arrays in Borland C, unless
you used the "huge" memory model, or something like that.  So that
comment does not apply to the size you see there, but to the limit
beyond which that size can't go.

-- 
Richard Levitte   \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken  \ S-161 43  BROMMA  \ T: +46-8-26 52 47
                    \      SWEDEN       \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis             -- [EMAIL PROTECTED]

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to