helly Sat Oct 30 10:34:44 2004 EDT
Modified files:
/php-src/ext/spl spl_directory.c
Log:
WS (ups)
http://cvs.php.net/diff.php/php-src/ext/spl/spl_directory.c?r1=1.28&r2=1.29&ty=u
Index: php-src/ext/spl/spl_directory.c
diff -u php-src/ext/spl/spl_directory.c:1.28 php-src/ext/spl/spl_directory.c:1.29
--- php-src/ext/spl/spl_directory.c:1.28 Sat Oct 30 10:33:25 2004
+++ php-src/ext/spl/spl_directory.c Sat Oct 30 10:34:43 2004
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: spl_directory.c,v 1.28 2004/10/30 14:33:25 helly Exp $ */
+/* $Id: spl_directory.c,v 1.29 2004/10/30 14:34:43 helly Exp $ */
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -121,6 +121,7 @@
static void spl_ce_dir_open(spl_ce_dir_object* intern, char *path TSRMLS_DC)
{
int path_len = strlen(path);
+
intern->dirp = php_stream_opendir(path, ENFORCE_SAFE_MODE|REPORT_ERRORS, NULL);
if (path_len && (path[path_len-1] == '/' || path[path_len-1] == '\\')) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php