svn: /php/php-src/ branches/PHP_5_2/ext/standard/streamsfuncs.c branches/PHP_5_3/ext/standard/streamsfuncs.c trunk/ext/standard/streamsfuncs.c
| From: | Felipe Pena | Date: | Mon, 03 Aug 2009 15:58:18 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_2/ext/standard/streamsfuncs.c branches/PHP_5_3/ext/standard/streamsfuncs.c trunk/ext/standard/streamsfuncs.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-59996@lists.php.net to get a copy of this message | ||
felipe Mon, 03 Aug 2009 15:58:18 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=286744
Log:
- CS
Changed paths:
U php/php-src/branches/PHP_5_2/ext/standard/streamsfuncs.c
U php/php-src/branches/PHP_5_3/ext/standard/streamsfuncs.c
U php/php-src/trunk/ext/standard/streamsfuncs.c
Modified: php/php-src/branches/PHP_5_2/ext/standard/streamsfuncs.c
===================================================================
--- php/php-src/branches/PHP_5_2/ext/standard/streamsfuncs.c 2009-08-03 15:24:31 UTC (rev 286743)
+++ php/php-src/branches/PHP_5_2/ext/standard/streamsfuncs.c 2009-08-03 15:58:18 UTC (rev 286744)
@@ -565,7 +565,7 @@
if ((url_stream_wrappers_hash = php_stream_get_url_stream_wrappers_hash())) {
array_init(return_value);
- for(zend_hash_internal_pointer_reset(url_stream_wrappers_hash);
+ for (zend_hash_internal_pointer_reset(url_stream_wrappers_hash);
(key_flags = zend_hash_get_current_key_ex(url_stream_wrappers_hash, &stream_protocol,
&stream_protocol_len, &num_key, 0, NULL)) != HASH_KEY_NON_EXISTANT;
zend_hash_move_forward(url_stream_wrappers_hash)) {
if (key_flags == HASH_KEY_IS_STRING) {
@@ -1390,9 +1390,9 @@
RETURN_FALSE;
}
- if(Z_TYPE_PP(zstream) == IS_RESOURCE) {
+ if (Z_TYPE_PP(zstream) == IS_RESOURCE) {
php_stream_from_zval(stream, zstream);
- if(stream == NULL) {
+ if (stream == NULL) {
RETURN_FALSE;
}
wrapper = stream->wrapper;
@@ -1402,7 +1402,7 @@
wrapper = php_stream_locate_url_wrapper(Z_STRVAL_PP(zstream), NULL, 0 TSRMLS_CC);
}
- if(!wrapper) {
+ if (!wrapper) {
RETURN_FALSE;
}
Modified: php/php-src/branches/PHP_5_3/ext/standard/streamsfuncs.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/standard/streamsfuncs.c 2009-08-03 15:24:31 UTC (rev 286743)
+++ php/php-src/branches/PHP_5_3/ext/standard/streamsfuncs.c 2009-08-03 15:58:18 UTC (rev 286744)
@@ -573,7 +573,7 @@
if ((url_stream_wrappers_hash = php_stream_get_url_stream_wrappers_hash())) {
HashPosition pos;
array_init(return_value);
- for(zend_hash_internal_pointer_reset_ex(url_stream_wrappers_hash, &pos);
+ for (zend_hash_internal_pointer_reset_ex(url_stream_wrappers_hash, &pos);
(key_flags = zend_hash_get_current_key_ex(url_stream_wrappers_hash, &stream_protocol,
&stream_protocol_len, &num_key, 0, &pos)) != HASH_KEY_NON_EXISTANT;
zend_hash_move_forward_ex(url_stream_wrappers_hash, &pos)) {
if (key_flags == HASH_KEY_IS_STRING) {
@@ -1456,9 +1456,9 @@
RETURN_FALSE;
}
- if(Z_TYPE_PP(zstream) == IS_RESOURCE) {
+ if (Z_TYPE_PP(zstream) == IS_RESOURCE) {
php_stream_from_zval(stream, zstream);
- if(stream == NULL) {
+ if (stream == NULL) {
RETURN_FALSE;
}
wrapper = stream->wrapper;
@@ -1468,7 +1468,7 @@
wrapper = php_stream_locate_url_wrapper(Z_STRVAL_PP(zstream), NULL, 0 TSRMLS_CC);
}
- if(!wrapper) {
+ if (!wrapper) {
RETURN_FALSE;
}
Modified: php/php-src/trunk/ext/standard/streamsfuncs.c
===================================================================
--- php/php-src/trunk/ext/standard/streamsfuncs.c 2009-08-03 15:24:31 UTC (rev 286743)
+++ php/php-src/trunk/ext/standard/streamsfuncs.c 2009-08-03 15:58:18 UTC (rev 286744)
@@ -613,7 +613,7 @@
if ((url_stream_wrappers_hash = php_stream_get_url_stream_wrappers_hash())) {
HashPosition pos;
array_init(return_value);
- for(zend_hash_internal_pointer_reset_ex(url_stream_wrappers_hash, &pos);
+ for (zend_hash_internal_pointer_reset_ex(url_stream_wrappers_hash, &pos);
(key_flags = zend_hash_get_current_key_ex(url_stream_wrappers_hash, &stream_protocol,
&stream_protocol_len, &num_key, 0, &pos)) != HASH_KEY_NON_EXISTANT;
zend_hash_move_forward_ex(url_stream_wrappers_hash, &pos)) {
if (key_flags == HASH_KEY_IS_STRING) {
@@ -1743,9 +1743,9 @@
RETURN_FALSE;
}
- if(Z_TYPE_PP(zstream) == IS_RESOURCE) {
+ if (Z_TYPE_PP(zstream) == IS_RESOURCE) {
php_stream_from_zval(stream, zstream);
- if(stream == NULL) {
+ if (stream == NULL) {
RETURN_FALSE;
}
wrapper = stream->wrapper;
@@ -1755,7 +1755,7 @@
wrapper = php_stream_locate_url_wrapper(Z_STRVAL_PP(zstream), NULL, 0 TSRMLS_CC);
}
- if(!wrapper) {
+ if (!wrapper) {
RETURN_FALSE;
}