mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
- Fixed bug #49572 (use of C++ style comments causes build failure)
This commit is contained in:
parent
fff0a24656
commit
fbc335e5d1
2
NEWS
2
NEWS
@ -16,6 +16,8 @@ PHP NEWS
|
||||
(Ryan Sleevi, Ilia)
|
||||
- Fixed bug #49470 (FILTER_SANITIZE_EMAIL allows disallowed characters).
|
||||
(Ilia)
|
||||
- Fixed bug #49572 (use of C++ style comments causes build failure).
|
||||
(Sriram Natarajan)
|
||||
|
||||
|
||||
?? ??? 2009, PHP 5.3.1
|
||||
|
@ -563,7 +563,7 @@ PHPAPI php_stream *_php_stream_temp_create(int mode, size_t max_memory_usage STR
|
||||
stream = php_stream_alloc_rel(&php_stream_temp_ops, self, 0, mode & TEMP_STREAM_READONLY ? "rb" : "w+b");
|
||||
stream->flags |= PHP_STREAM_FLAG_NO_BUFFER;
|
||||
self->innerstream = php_stream_memory_create_rel(mode);
|
||||
php_stream_auto_cleanup(self->innerstream); // do not warn if innerstream is GC'ed before stream
|
||||
php_stream_auto_cleanup(self->innerstream); /* do not warn if innerstream is GC'ed before stream */
|
||||
((php_stream_memory_data*)self->innerstream->abstract)->owner_ptr = &self->innerstream;
|
||||
|
||||
return stream;
|
||||
|
Loading…
Reference in New Issue
Block a user