Re: svn: /php/php-src/ branches/PHP_5_3/NEWS branches/PHP_5_3/sapi/fpm/fpm/fpm_php.c branches/PHP_5_3/sapi/fpm/fpm/fpm_php.h
branches/PHP_5_3/sapi/fpm/fpm/fpm_request.c branches/PHP_5_3/sapi/fpm/fpm/fpm_shm_slots.h trunk/sapi/fpm/fpm/fpm_ph
| From: | Jérôme Loyet | Date: | Sun, 30 Jan 2011 13:52:10 +0000 |
| Subject: | Re: svn: /php/php-src/ branches/PHP_5_3/NEWS branches/PHP_5_3/sapi/fpm/fpm/fpm_php.c branches/PHP_5_3/sapi/fpm/fpm/fpm_php.h branches/PHP_5_3/sapi/fpm/fpm/fpm_request.c branches/PHP_5_3/sapi/fpm/fpm/fpm_shm_slots.h trunk/sapi/fpm/fpm/fpm_ph |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-64457@lists.php.net to get a copy of this message | ||
2011/1/30 Antony Dovgal <tony@daylessday.org>:
> On 01/29/2011 02:38 PM, Jérôme Loyet wrote:
>> + if (request_uri) {
>> + cpystrn(slot->request_uri, request_uri,
>> sizeof(slot->request_uri));
>> + }
>> +
>
> No need to use/have private string funcs for that, we have strlcpy() & strlcat() in PHP.
> See main/strlcpy.c and main/strlcat.c.
I replaced cpystrn with strlcpy in FPM. See revision 307861
thanks you
>
> --
> Wbr,
> Antony Dovgal
> ---
> http://pinba.org - realtime statistics for PHP
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>