com php-src: reduce struct size by 8 byte on 64 bit: ext/session/mod_files.c
| From: | Anatol Belski | Date: | Sat, 13 Sep 2014 21:34:08 +0000 |
| Subject: | com php-src: reduce struct size by 8 byte on 64 bit: ext/session/mod_files.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81572@lists.php.net to get a copy of this message | ||
Commit: 49e78dd022d74f7cf0f5ccb0bc1899ce77973954
Author: Anatol Belski <ab@php.net> Sat, 13 Sep 2014 23:34:08 +0200
Parents: 760c51a644c1870c82d3fa850216ecaefe844f86
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=49e78dd022d74f7cf0f5ccb0bc1899ce77973954
Log:
reduce struct size by 8 byte on 64 bit
Changed paths:
M ext/session/mod_files.c
Diff:
diff --git a/ext/session/mod_files.c b/ext/session/mod_files.c
index bc87ef9..2a73216 100644
--- a/ext/session/mod_files.c
+++ b/ext/session/mod_files.c
@@ -57,13 +57,13 @@
#endif
typedef struct {
- int fd;
char *lastkey;
char *basedir;
size_t basedir_len;
size_t dirdepth;
size_t st_size;
int filemode;
+ int fd;
} ps_files;
ps_module ps_mod_files = {