php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #61253
Patch bug61253.diff revision 2012-03-07 14:05 UTC by cataphract@php.net
revision 2012-03-02 22:13 UTC by cataphract@php.net

Patch bug61253.diff for Streams related Bug #61253

Patch version 2012-03-02 22:13 UTC

Return to Bug #61253 | Download this patch
This patch is obsolete

Obsoleted by patches:

Patch Revisions: 2012-03-07 14:05 UTC | 2012-03-02 22:13 UTC

Developer: cataphract@php.net



  @@ -157,20 +157,35 @@
   
   /* }}} */
   
 +static zend_llist *php_get_wrapper_errors_list(php_stream_wrapper *wrapper TSRMLS_DC)
 +static zend_llist *php_get_wrapper_errors_list(php_stream_wrapper *wrapper)
  +{
  +    zend_llist *list = NULL;
  +    if (!FG(wrapper_errors)) {
  +        return NULL;


  -	php_stream_wrapper orig_wrapper;
   
   	if (wrapper) {
  -		if (wrapper->err_count > 0) {
 +		zend_llist *err_list = php_get_wrapper_errors_list(wrapper TSRMLS_CC);
 +		zend_llist *err_list = php_get_wrapper_errors_list(wrapper);
  +		if (err_list) {
  +			size_t l = 0;
  +			int brlen;
   			int i;
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Mon Apr 21 02:02:11 2014 UTC