Re: SV: [PHP-DEV] erealloc and the API

From: Date: Fri, 04 May 2001 18:22:53 +0000
Subject: Re: SV: [PHP-DEV] erealloc and the API
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-53909@lists.php.net to get a copy of this message
At 20:32 4/5/2001, Johan Ekenberg wrote:
Zeev, thanks, that made all the difference! I got a suggestion from another PHP-developer that mixing calls to emalloc() and strcpy() might be a problem. Is this so?
Not it's not; A block you get from emalloc() is very much the same as a block you get from malloc(), as far as what you can do with it. The only difference is that you have to use efree()/erealloc() etc. instead of free()/realloc(), when you manipulate that block. Zeev

« previous php.dev (#53909) next »