summaryrefslogtreecommitdiff
path: root/main/php_streams.h
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2003-11-03 14:12:46 +0000
committerDerick Rethans <derick@php.net>2003-11-03 14:12:46 +0000
commit3ab8d263b89d3cd3c5f4268b6f2aa123dddb5859 (patch)
tree8710a0a9d942b5fdc7a6a998018115df8740fe82 /main/php_streams.h
parent040d945fb7881ad9ffef1170210ac806f0db61e3 (diff)
downloadphp-git-3ab8d263b89d3cd3c5f4268b6f2aa123dddb5859.tar.gz
- Always store the URI path in the streams structure, and expose it with
stream_get_meta_data().
Diffstat (limited to 'main/php_streams.h')
-rwxr-xr-xmain/php_streams.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_streams.h b/main/php_streams.h
index 69c7596017..793878a488 100755
--- a/main/php_streams.h
+++ b/main/php_streams.h
@@ -194,8 +194,8 @@ struct _php_stream {
FILE *stdiocast; /* cache this, otherwise we might leak! */
#if ZEND_DEBUG
int __exposed; /* non-zero if exposed as a zval somewhere */
- char *__orig_path; /* it really helps when debugging "unclosed" streams */
#endif
+ char *orig_path;
php_stream_context *context;
int flags; /* PHP_STREAM_FLAG_XXX */