From a2c24ae90ead95f8dbed95ff732e6c89bd4275b4 Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Mon, 21 Jun 2004 21:08:05 +0000 Subject: BugFix#28868 (Part Two): This fixes thread unsafety in the userspace filters which relates to the fix just applied for userspace wrappers. --- main/php_streams.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'main/php_streams.h') 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 -- cgit v1.2.1