From fab3593036fce0aeb840f1593969115c43a9d56b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lourens=20Naud=C3=A9?= Date: Tue, 10 Dec 2019 22:54:57 +0000 Subject: [PATCH 1/2] Pack struct push_glob0_args (40 to 32 bytes) --- dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dir.c b/dir.c index 6a926f438cc46f..6c74b6c9804e8a 100644 --- a/dir.c +++ b/dir.c @@ -2448,8 +2448,8 @@ static int ruby_glob0(const char *path, int fd, const char *base, int flags, struct push_glob0_args { int fd; - const char *base; int flags; + const char *base; const ruby_glob_funcs_t *funcs; VALUE arg; }; From 980e052611bebdb58b5abcc5bbc47e3367306d71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lourens=20Naud=C3=A9?= Date: Tue, 10 Dec 2019 23:02:08 +0000 Subject: [PATCH 2/2] Pack struct push_glob_args (64 to 56 bytes) --- dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dir.c b/dir.c index 6c74b6c9804e8a..2e409741ccc298 100644 --- a/dir.c +++ b/dir.c @@ -2022,12 +2022,12 @@ dirent_match(const char *pat, rb_encoding *enc, const char *name, const struct d struct push_glob_args { int fd; + int flags; const char *path; size_t baselen; size_t namelen; int dirsep; /* '/' should be placed before appending child entry's name to 'path'. */ rb_pathtype_t pathtype; /* type of 'path' */ - int flags; const ruby_glob_funcs_t *funcs; VALUE arg; };