version 1.1.1.1, 2012/02/21 23:48:05
|
version 1.1.1.2, 2012/05/29 12:34:35
|
Line 271 PHPAPI int _php_stream_cast(php_stream *stream, int ca
|
Line 271 PHPAPI int _php_stream_cast(php_stream *stream, int ca
|
|
|
newstream = php_stream_fopen_tmpfile(); |
newstream = php_stream_fopen_tmpfile(); |
if (newstream) { |
if (newstream) { |
size_t retcopy = php_stream_copy_to_stream_ex(stream, newstream, PHP_STREAM_COPY_ALL, NULL); | int retcopy = php_stream_copy_to_stream_ex(stream, newstream, PHP_STREAM_COPY_ALL, NULL); |
|
|
if (retcopy != SUCCESS) { |
if (retcopy != SUCCESS) { |
php_stream_close(newstream); |
php_stream_close(newstream); |