sniper Wed Sep 11 10:17:27 2002 EDT Modified files: /php4/ext/standard dir.c Log: ws fix Index: php4/ext/standard/dir.c diff -u php4/ext/standard/dir.c:1.96 php4/ext/standard/dir.c:1.97 --- php4/ext/standard/dir.c:1.96 Fri Aug 23 21:19:27 2002 +++ php4/ext/standard/dir.c Wed Sep 11 10:17:26 2002 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: dir.c,v 1.96 2002/08/24 01:19:27 helly Exp $ */ +/* $Id: dir.c,v 1.97 2002/09/11 14:17:26 sniper Exp $ */ /* {{{ includes/startup/misc */ @@ -98,9 +98,9 @@ static void php_set_default_dir(int id TSRMLS_DC) { - if (DIRG(default_dir)!=-1) { - zend_list_delete(DIRG(default_dir)); - } + if (DIRG(default_dir)!=-1) { + zend_list_delete(DIRG(default_dir)); + } if (id != -1) { zend_list_addref(id); @@ -214,7 +214,8 @@ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &str, &str_len) == FAILURE) { RETURN_FALSE; } - ret = chroot(str); + + ret = chroot(str); if (ret != 0) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s (errno %d)", strerror(errno), errno); @@ -326,7 +327,7 @@ #ifdef HAVE_GLOB /* {{{ proto array glob(string pattern [, int flags]) - Find pathnames matching a pattern */ + Find pathnames matching a pattern */ PHP_FUNCTION(glob) { char *pattern = NULL;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php