diff options
| author | Sara Golemon <pollita@php.net> | 2003-11-28 23:25:28 +0000 |
|---|---|---|
| committer | Sara Golemon <pollita@php.net> | 2003-11-28 23:25:28 +0000 |
| commit | 026d4c9e4cec8cb3f03c311b90f05241f2d70455 (patch) | |
| tree | e563b6f3699eb94168362c8f00fb1c4d80506e7a /ext/libxml/libxml.c | |
| parent | 6d86bb9e40386e4127af4f55b8e8e79864255ca1 (diff) | |
| download | php-git-026d4c9e4cec8cb3f03c311b90f05241f2d70455.tar.gz | |
Route php_stat() via streams/url_stat API (php_stream_stat_path).
This enables fopen-wrappers support on stat() and related family calls.
Diffstat (limited to 'ext/libxml/libxml.c')
| -rw-r--r-- | ext/libxml/libxml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c index 0e937df777..49500d88aa 100644 --- a/ext/libxml/libxml.c +++ b/ext/libxml/libxml.c @@ -253,7 +253,7 @@ void *php_libxml_streams_IO_open_wrapper(const char *filename, const char *mode) in xml processing (eg. DTD files) */ wrapper = php_stream_locate_url_wrapper(resolved_path, &path_to_open, ENFORCE_SAFE_MODE TSRMLS_CC); if (wrapper && wrapper->wops->url_stat) { - if (wrapper->wops->url_stat(wrapper, path_to_open, &ssbuf TSRMLS_CC) == -1) { + if (wrapper->wops->url_stat(wrapper, path_to_open, 0, &ssbuf, NULL TSRMLS_CC) == -1) { return NULL; } } |
