Re: Re: Bug #2033 Updated: serialize() produces: FATAL: emalloc(): Unable to allocate 4160742841l bytes
| From: | Thies C. Arntzen | Date: | Tue, 31 Aug 1999 15:47:59 +0000 |
| Subject: | Re: Re: Bug #2033 Updated: serialize() produces: FATAL: emalloc(): Unable to allocate 4160742841l bytes | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-10391@lists.php.net to get a copy of this message | ||
On Tue, 31 Aug 1999 elfchief@lupine.org wrote:
> > ID: 2033
> > Updated by: thies
> > Reported By: elfchief@lupine.org
> > Status: Open
> > Bug Type: Misbehaving function
> > Assigned To:
> > Comments:
> >
> > unifixed - configure needs to find that out!
>
> Err... why? All the 'fix' for this does is replace sprintf with
> _php3_sprintf ... and the purpose of _php3_sprintf is to centralize
> the special code required to handle sprintf under stupid OSen. Broken
> sprintf already -is- autoconfigured and _php3_sprintf makes the correct
> adjustments when needed.
>
> Or am I missing something?
>
> -WW
yes, as sprintf is used all over the code it might be cheaper to
#if BROKEN_SPRINTF
#define sprintf _php3_sprintf
#endif
(like apache does it)
in php.h
tc
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany