]> granicus.if.org Git - php/commitdiff
reduce size by 8 byte on 64 bit
authorAnatol Belski <ab@php.net>
Fri, 12 Sep 2014 20:06:10 +0000 (22:06 +0200)
committerAnatol Belski <ab@php.net>
Fri, 12 Sep 2014 20:06:10 +0000 (22:06 +0200)
Zend/zend_stream.h

index 10fa8d8a60800fd4e88dea79c1060ecadb5e4f9a..84dc2e00b8bf75c545292c6042d053cc4e3f3840 100644 (file)
@@ -63,14 +63,14 @@ typedef struct _zend_stream {
 } zend_stream;
 
 typedef struct _zend_file_handle {
-       zend_stream_type  type;
-       const char        *filename;
-       char              *opened_path;
        union {
                int           fd;
                FILE          *fp;
                zend_stream   stream;
        } handle;
+       const char        *filename;
+       char              *opened_path;
+       zend_stream_type  type;
        zend_bool free_filename;
 } zend_file_handle;