Browse Source

final bits

pull/458/head
Michael Wallner 13 years ago
parent
commit
e6084da473
  1. 1
      ext/soap/soap.c
  2. 5
      ext/standard/php_fopen_wrapper.c

1
ext/soap/soap.c

@ -1599,6 +1599,7 @@ PHP_METHOD(SoapServer, handle)
if (zf) {
php_stream_filter_remove(zf, 1 TSRMLS_CC);
}
} else {
zval_ptr_dtor(&retval);
return;

5
ext/standard/php_fopen_wrapper.c

@ -91,7 +91,7 @@ static size_t php_stream_input_read(php_stream *stream, char *buf, size_t count
}
php_stream_seek(*input->body_ptr, input->position, SEEK_SET);
read = (*input->body_ptr)->ops->read(*input->body_ptr, buf, count TSRMLS_CC);
read = php_stream_read(*input->body_ptr, buf, count);
if (!read || read == (size_t) -1) {
stream->eof = 1;
@ -105,6 +105,9 @@ static size_t php_stream_input_read(php_stream *stream, char *buf, size_t count
static int php_stream_input_close(php_stream *stream, int close_handle TSRMLS_DC) /* {{{ */
{
efree(stream->abstract);
stream->abstract = NULL;
return 0;
}
/* }}} */

Loading…
Cancel
Save