com php-src: better align and reduce size by 8 byte on 64 bit: Zend/zend_virtual_cwd.h
| From: | Anatol Belski | Date: | Fri, 12 Sep 2014 19:35:25 +0000 |
| Subject: | com php-src: better align and reduce size by 8 byte on 64 bit: Zend/zend_virtual_cwd.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81527@lists.php.net to get a copy of this message | ||
Commit: 83244e5fec166c1c3fffd32eaf1de5c219f14795
Author: Anatol Belski <ab@php.net> Fri, 12 Sep 2014 21:31:25 +0200
Parents: 5257ac492596d220990a43a98aad6c29f376639f
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=83244e5fec166c1c3fffd32eaf1de5c219f14795
Log:
better align and reduce size by 8 byte on 64 bit
Changed paths:
M Zend/zend_virtual_cwd.h
Diff:
diff --git a/Zend/zend_virtual_cwd.h b/Zend/zend_virtual_cwd.h
index b439d3e...3c432de 100644
--- a/Zend/zend_virtual_cwd.h
+++ b/Zend/zend_virtual_cwd.h
@@ -213,18 +213,18 @@ CWD_API char *tsrm_realpath(const char *path, char *real_path TSRMLS_DC);
typedef struct _realpath_cache_bucket {
zend_ulong key;
char *path;
- int path_len;
char *realpath;
+ struct _realpath_cache_bucket *next;
+ time_t expires;
+ int path_len;
int realpath_len;
int is_dir;
- time_t expires;
#ifdef PHP_WIN32
unsigned char is_rvalid;
unsigned char is_readable;
unsigned char is_wvalid;
unsigned char is_writable;
#endif
- struct _realpath_cache_bucket *next;
} realpath_cache_bucket;
typedef struct _virtual_cwd_globals {