registrar: flat_app_info size was arch dependent.

copy each member of app_info instead.

Change-Id: Ica8d0a195b2dbaaf57d28f2fe2f7efd73c37b2c4
This commit is contained in:
Jérôme Duval
2018-05-05 09:30:08 +00:00
parent 7dba237f7f
commit 27bba9c3fe
3 changed files with 22 additions and 5 deletions
+8 -2
View File
@@ -180,9 +180,15 @@ enum {
// a flat app_info -- to be found in B_REG_APP_INFO_TYPE message fields
struct flat_app_info {
app_info info;
thread_id thread;
team_id team;
port_id port;
uint32 flags;
dev_t ref_device;
ino_t ref_directory;
char signature[B_MIME_TYPE_LENGTH];
char ref_name[B_FILE_NAME_LENGTH + 1];
};
} _PACKED;
} // namespace BPrivate