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: | Antony Dovgal | Date: | Sun, 30 Jan 2011 14:18:07 +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 |
||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-64458@lists.php.net to get a copy of this message | ||
On 01/30/2011 04:52 PM, Jérôme Loyet wrote:
> 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!
--
Wbr,
Antony Dovgal
---
http://pinba.org - realtime statistics for PHP