On Mon, 21 May 2012 08:38:30 -0600 Eduardo Silva <[email protected]> wrote:
> the patch looks equal to the first one submitted. > > (please check the file_info struct as it has changed a little bit > during the weekend) It had no longer the :1 bitfields. Attaching updated patch against latest master. - Lauri
>From dc7b06fc181f6cb387ea3e16c46e4d834939f89f Mon Sep 17 00:00:00 2001 From: Lauri Kasanen <[email protected]> Date: Mon, 21 May 2012 20:31:06 +0300 Subject: [PATCH] file: Reorder struct file_info, drop 8 bytes, v2 Signed-off-by: Lauri Kasanen <[email protected]> --- src/include/mk_file.h | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/include/mk_file.h b/src/include/mk_file.h index 588d912..5c91d1a 100644 --- a/src/include/mk_file.h +++ b/src/include/mk_file.h @@ -25,17 +25,17 @@ struct file_info { off_t size; - - short int exists; - short int is_file; - short int is_link; - short int is_directory; - short int exec_access; - short int read_access; time_t last_modification; /* Suggest flags to open this file */ int flags_read_only; + + unsigned char exists; + unsigned char is_file; + unsigned char is_link; + unsigned char is_directory; + unsigned char exec_access; + unsigned char read_access; }; int mk_file_get_info(const char *path, struct file_info *f_info); -- 1.7.2.1
_______________________________________________ Monkey mailing list [email protected] http://lists.monkey-project.com/listinfo/monkey
