Re: cvs: php4 /main SAPI.c
| From: | Moriyoshi Koizumi | Date: | Tue, 11 Feb 2003 22:44:07 +0000 |
| Subject: | Re: cvs: php4 /main SAPI.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-18689@lists.php.net to get a copy of this message | ||
"Stefan Esser" <s.esser@e-matters.de> wrote:
> 8 + 20 + 1 + 1 = 30
My stupid calculation... Thanks.
64 * log(2) / log(10) > 19
> And the "fix" broke the header code on systems with old style snprintf.
Doesn't the same apply to sprintf() ?
> - result = emalloc(32);
> + result = emalloc(sizeof("WWW-Authenticate: ")+20);
> newlen = sprintf(result, "WWW-Authenticate: %ld", myuid);
This part is another fix. MFH?
Moriyoshi