cvs: php-src /ext/spl spl_directory.c
| From: | Felipe Pena | Date: | Fri, 12 Sep 2008 16:24:12 +0000 |
| Subject: | cvs: php-src /ext/spl spl_directory.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-53094@lists.php.net to get a copy of this message | ||
felipe Fri Sep 12 16:24:12 2008 UTC
Modified files:
/php-src/ext/spl spl_directory.c
Log:
- Missing argument to type "t"
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/spl_directory.c?r1=1.167&r2=1.168&diff_format=u
Index: php-src/ext/spl/spl_directory.c
diff -u php-src/ext/spl/spl_directory.c:1.167 php-src/ext/spl/spl_directory.c:1.168
--- php-src/ext/spl/spl_directory.c:1.167 Thu Sep 11 15:45:29 2008
+++ php-src/ext/spl/spl_directory.c Fri Sep 12 16:24:12 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: spl_directory.c,v 1.167 2008/09/11 15:45:29 lbarnaud Exp $ */
+/* $Id: spl_directory.c,v 1.168 2008/09/12 16:24:12 felipe Exp $ */
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -879,11 +879,11 @@
spl_filesystem_object *intern = (spl_filesystem_object*)zend_object_store_get_object(getThis()
TSRMLS_CC);
zstr fname, suffix, path;
int flen, slen = 0, path_len;
- zend_uchar path_type;
+ zend_uchar path_type, stype;
suffix.v = 0;
if (intern->file_name_type == IS_UNICODE) {
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|t", &suffix.u, &slen) ==
FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|t", &suffix, &slen,
&stype) == FAILURE) {
return;
}
} else {