On Mon, Jun 03, 2002 at 04:22:33PM +0200, Richard Levitte - VMS Whacker wrote: > In message <[EMAIL PROTECTED]> on Mon, 03 Jun 2002 14:38:35 +0100, Ben >Laurie <[EMAIL PROTECTED]> said: > > ben> Richard Levitte via RT wrote: > ben> > Probably because of atoi(), a last-second change was made, changing > ben> > "ustrsep" to "strsep" on that line. Try replacing "strsep" with > ben> > "ustrsep", that should work better (I know it worked for me). > ben> > ben> I made the change - I think I mistyped and meant sstrsep - reason being > ben> atoi takes a char * not an an unsigned char *. > > Is that portable? I thought another reason for your implementation of > ustrsep was that it would always be available even if it wasn't > generally on the target system...
I don't have my K&R 2 at hand right now. My HP-UX manual page for atoi() however claims that atoi() is part of ANSI-C and thus the argument being a "char *" should also be correct, thus sstrsep() should be used. Best regards, Lutz -- Lutz Jaenicke [EMAIL PROTECTED] http://www.aet.TU-Cottbus.DE/personen/jaenicke/ BTU Cottbus, Allgemeine Elektrotechnik Universitaetsplatz 3-4, D-03044 Cottbus ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]