Re: [PHP-CVS] cvs: php-src /ext/bcmath/libbcmath/src div.c init.c num2str.c

2007-07-12 Thread Nuno Lopes
if you are using safe_emalloc() you can remove all those ' == NULL' tests. Nuno On 7/10/07, Antony Dovgal [EMAIL PROTECTED] wrote: tony2001Tue Jul 10 11:07:56 2007 UTC Modified files: /php-src/ext/bcmath/libbcmath/src div.c init.c num2str.c Log: use safe_emalloc()

Re: [PHP-CVS] cvs: php-src /ext/bcmath/libbcmath/src div.c init.c num2str.c

2007-07-12 Thread Antony Dovgal
On 12.07.2007 20:54, Nuno Lopes wrote: if you are using safe_emalloc() you can remove all those ' == NULL' tests. Actually emalloc() is supposed to bail out on failure, so NULL was not possible there either. But I just didn't want to touch that part of the code.. Nuno On 7/10/07, Antony

[PHP-CVS] cvs: php-src /ext/bcmath/libbcmath/src div.c init.c num2str.c

2007-07-10 Thread Antony Dovgal
tony2001Tue Jul 10 11:07:56 2007 UTC Modified files: /php-src/ext/bcmath/libbcmath/src div.c init.c num2str.c Log: use safe_emalloc() http://cvs.php.net/viewvc.cgi/php-src/ext/bcmath/libbcmath/src/div.c?r1=1.3r2=1.4diff_format=u Index: