From 7081c9bca60e7f3e89b1dbbe771ca2194923a84f Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Mon, 15 Dec 2014 01:06:19 -0500 Subject: Reorder to save alignment size (of course, only for common used structs) --- main/php_streams.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/php_streams.h') diff --git a/main/php_streams.h b/main/php_streams.h index 77a2234d92..79ceaf2761 100644 --- a/main/php_streams.h +++ b/main/php_streams.h @@ -210,6 +210,8 @@ struct _php_stream { zend_resource *ctx; int flags; /* PHP_STREAM_FLAG_XXX */ + int eof; + /* buffer */ zend_off_t position; /* of underlying stream */ unsigned char *readbuf; @@ -220,8 +222,6 @@ struct _php_stream { /* how much data to read when filling buffer */ size_t chunk_size; - int eof; - #if ZEND_DEBUG const char *open_filename; uint open_lineno; -- cgit v1.2.1