diff options
author | Dmitry Stogov <dmitry@zend.com> | 2018-10-24 11:49:44 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2018-10-24 11:49:44 +0300 |
commit | 770fe51bfd8994c3df819cbf04b7d76824b55e5c (patch) | |
tree | 8cffa4fd81e712388cf691b2c9a5ebbd19010465 /main/streams/plain_wrapper.c | |
parent | 5df17425d36cc175d8751c40114c8bad9937ea06 (diff) | |
download | php-git-770fe51bfd8994c3df819cbf04b7d76824b55e5c.tar.gz |
Make php_plain_files_wrapper to be writable (workaround for swoole)
Diffstat (limited to 'main/streams/plain_wrapper.c')
-rw-r--r-- | main/streams/plain_wrapper.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/streams/plain_wrapper.c b/main/streams/plain_wrapper.c index b2fc00b226..fdfc7b4f63 100644 --- a/main/streams/plain_wrapper.c +++ b/main/streams/plain_wrapper.c @@ -1453,7 +1453,8 @@ static const php_stream_wrapper_ops php_plain_files_wrapper_ops = { php_plain_files_metadata }; -PHPAPI const php_stream_wrapper php_plain_files_wrapper = { +/* TODO: We have to make php_plain_files_wrapper writable to support SWOOLE */ +PHPAPI /*const*/ php_stream_wrapper php_plain_files_wrapper = { &php_plain_files_wrapper_ops, NULL, 0 |