From: Antony Dovgal Date: Sun, 5 Feb 2006 19:23:30 +0000 (+0000) Subject: MFH: fix #36295 (typo in SplFileObject::flock() parameter name) X-Git-Tag: php-5.1.3RC1~151 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aa920b8e0021620a398abe8b631779ea70b74bd2;p=php MFH: fix #36295 (typo in SplFileObject::flock() parameter name) --- diff --git a/NEWS b/NEWS index 9e370a90c0..496b594119 100644 --- a/NEWS +++ b/NEWS @@ -20,6 +20,7 @@ PHP NEWS - Added imap_savebody() that allows message body to be written to a file. (Mike) - Fixed imagecolorallocate() and imagecolorallocatelapha() to return FALSE on error. (Pierre) +- Fixed bug #36295 (typo in SplFileObject::flock() parameter name). (Tony) - Fixed bug #36287 (Segfault with SplFileInfo conversion). (Marcus) - Fixed bug #36268 (Object destructors called even after fatal errors). (Dmitry) - Fixed bug #36258 (SplFileObject::getPath() may lead to segfault). (Tony) diff --git a/ext/spl/spl_directory.c b/ext/spl/spl_directory.c index 8a51c0d7c4..8517cacb63 100755 --- a/ext/spl/spl_directory.c +++ b/ext/spl/spl_directory.c @@ -1899,7 +1899,7 @@ ZEND_END_ARG_INFO() static ZEND_BEGIN_ARG_INFO_EX(arginfo_file_object_flock, 0, 0, 1) ZEND_ARG_INFO(0, operation) - ZEND_ARG_INFO(1, wouldblock]) + ZEND_ARG_INFO(1, wouldblock) ZEND_END_ARG_INFO() static