diff options
author | Sara Golemon <pollita@php.net> | 2004-06-21 21:08:05 +0000 |
---|---|---|
committer | Sara Golemon <pollita@php.net> | 2004-06-21 21:08:05 +0000 |
commit | a2c24ae90ead95f8dbed95ff732e6c89bd4275b4 (patch) | |
tree | 33f37635e277b9ea2cc75997de9229d66a464814 /main/php_streams.h | |
parent | dc66fb1f10518b1c4712fd4d253ab3fb61428080 (diff) | |
download | php-git-a2c24ae90ead95f8dbed95ff732e6c89bd4275b4.tar.gz |
BugFix#28868 (Part Two): This fixes thread unsafety in the userspace
filters which relates to the fix just applied for userspace wrappers.
Diffstat (limited to 'main/php_streams.h')
-rwxr-xr-x | main/php_streams.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/main/php_streams.h b/main/php_streams.h index f3461bbd7b..000b4291c3 100755 --- a/main/php_streams.h +++ b/main/php_streams.h @@ -541,7 +541,9 @@ PHPAPI int _php_stream_make_seekable(php_stream *origstream, php_stream **newstr /* Give other modules access to the url_stream_wrappers_hash and stream_filters_hash */ PHPAPI HashTable *_php_stream_get_url_stream_wrappers_hash(TSRMLS_D); #define php_stream_get_url_stream_wrappers_hash() _php_stream_get_url_stream_wrappers_hash(TSRMLS_C) -PHPAPI HashTable *php_get_stream_filters_hash(); +PHPAPI HashTable *_php_get_stream_filters_hash(TSRMLS_D); +#define php_get_stream_filters_hash() _php_get_stream_filters_hash(TSRMLS_C) +PHPAPI HashTable *php_get_stream_filters_hash_global(); END_EXTERN_C() #endif |