Re: cvs: php4 /main SAPI.c
| From: | (Marcus Börger) | Date: | Mon, 10 Feb 2003 21:42:54 +0000 |
| Subject: | Re: cvs: php4 /main SAPI.c | ||
| References: | 1 2 3 4 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-18634@lists.php.net to get a copy of this message | ||
Have you looked at smart_strs? That's the way to go, if you
want to get rid of nasty size calculations/checks and ugly
memcpy calls.
Basically spprintf was designed to be an easy replacement for
all the other sprintf derivates. But perhaps i should have used
the smart strings inside it. Maybe we wouldnt have the floating
point problem with more than 512 digits?