Re: itoa() unresolved

From: Date: Fri, 05 Feb 1999 11:03:03 +0000
Subject: Re: itoa() unresolved
References: 1 2 3 4 5  Groups: php.dev 
Request: Send a blank email to php-dev+get-3907@lists.php.net to get a copy of this message
Shane Caraveo wrote: > > No, and I knew it wasn't when I put it there. As I understand the code, > curopt is the number of connections to made to the odbc manager. If > someone can make 10000 connections to an odbc manager, they're god (at > least on nt). Anyway, yes it needs to be fixed, but I needed an > immediate fix before going out the door to the airport. > > Shane > cur_opt are connection options needed for, I think empress. Since we can find the maximum possible value for this constant (it's defined as 2UL), it should be safe to simply use a constant value of 3 (1 digit and 2 extra) for the maximum length of cur_opt. Though this isn't elegant and we waste two bytes ;-) -Andreas -- Andreas Karajannis GMD National Research Center for Information Technology Schloss Birlinghoven, D-53754 Sankt Augustin Phone +49 2241 142948 -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#3907) next »