From 99933df5e2064cd751e4bbe8f7a52ee6af12954f Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 11 Jun 2008 09:01:56 +0000 Subject: closeder/readdir/rewinddir must work only with directories --- main/php_streams.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main/php_streams.h') diff --git a/main/php_streams.h b/main/php_streams.h index 91e09f8f2d..5447c954a1 100755 --- a/main/php_streams.h +++ b/main/php_streams.h @@ -181,6 +181,8 @@ struct _php_stream_wrapper { #define PHP_STREAM_FLAG_NO_CLOSE 32 +#define PHP_STREAM_FLAG_IS_DIR 64 + struct _php_stream { php_stream_ops *ops; void *abstract; /* convenience pointer for abstraction */ -- cgit v1.2.1