com php-src: reduce the struct size (under circumstances) on 64 bit: ext/zlib/php_zlib.h
| From: | Anatol Belski | Date: | Sat, 13 Sep 2014 21:21:49 +0000 |
| Subject: | com php-src: reduce the struct size (under circumstances) on 64 bit: ext/zlib/php_zlib.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81549@lists.php.net to get a copy of this message | ||
Commit: 58177c27d60114a0d0ad3c2e8fffb0cc221da6b3
Author: Anatol Belski <ab@php.net> Sat, 13 Sep 2014 20:47:59 +0200
Parents: a7690fea7af57855fd0e05d9623d0a4467329003
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=58177c27d60114a0d0ad3c2e8fffb0cc221da6b3
Log:
reduce the struct size (under circumstances) on 64 bit
Changed paths:
M ext/zlib/php_zlib.h
Diff:
diff --git a/ext/zlib/php_zlib.h b/ext/zlib/php_zlib.h
index f76e4c2..703d6f5 100644
--- a/ext/zlib/php_zlib.h
+++ b/ext/zlib/php_zlib.h
@@ -49,13 +49,13 @@ typedef struct _php_zlib_context {
ZEND_BEGIN_MODULE_GLOBALS(zlib)
/* variables for transparent gzip encoding */
- int compression_coding;
zend_long output_compression;
zend_long output_compression_level;
char *output_handler;
php_zlib_context *ob_gzhandler;
zend_long output_compression_default;
zend_bool handler_registered;
+ int compression_coding;
ZEND_END_MODULE_GLOBALS(zlib);
php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, const char *path, const char *mode, int
options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);