cvs: php4 /ext/standard dir.c
| From: | Sebastian Bergmann | Date: | Thu, 26 Sep 2002 07:30:21 +0000 |
| Subject: | cvs: php4 /ext/standard dir.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-14232@lists.php.net to get a copy of this message | ||
sebastian Thu Sep 26 03:30:21 2002 EDT
Modified files:
/php4/ext/standard dir.c
Log:
Fix ZTS build. Fix warning.
Index: php4/ext/standard/dir.c
diff -u php4/ext/standard/dir.c:1.99 php4/ext/standard/dir.c:1.100
--- php4/ext/standard/dir.c:1.99 Thu Sep 26 03:15:33 2002
+++ php4/ext/standard/dir.c Thu Sep 26 03:30:16 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dir.c,v 1.99 2002/09/26 07:15:33 hholzgra Exp $ */
+/* $Id: dir.c,v 1.100 2002/09/26 07:30:16 sebastian Exp $ */
/* {{{ includes/startup/misc */
@@ -338,7 +338,6 @@
Find pathnames matching a pattern */
PHP_FUNCTION(glob)
{
- cwd_state new_state;
char cwd[MAXPATHLEN];
int cwd_skip = 0;
char work_pattern[MAXPATHLEN];
@@ -348,7 +347,6 @@
long flags = 0;
glob_t globbuf;
int n, ret;
- TSRMLS_FETCH();
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &pattern,
&pattern_len, &flags) == FAILURE)
return;