Hi: This was what it was before I edit it. I also don't very sure about it.
and after tracking, I found this statements was introduced in -r243300 diff: http://svn.php.net/viewvc/php/php-src/trunk/ext/standard/basic_functions.c?r1=243098&r2=243300 looks like it was wrong in the rewrite phase,, I have delete these no sense statements.. thanks 2011/8/8 Stas Malyshev <[email protected]>: > Hi! > > On 8/7/11 7:25 AM, Xinchen Hui wrote: >> >> laruence Sun, 07 Aug 2011 14:25:30 +0000 >> memset(opts, 0, count * sizeof(opt_struct)); >> >> + if (!opts) { >> + RETURN_FALSE; >> + } >> + > > I'm not sure I understand this code. You first use opts as memset target and > then check if for null. How that works? > -- > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > (408)454-6900 ext. 227 > -- Laruence Xinchen Hui http://www.laruence.com/ -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
