fix compilation
References: https://github.com/facebook/hhvm/issues/168 . Same issue occurs in Gentoo with gcc 9.1 Signed-off-by: David Heidelberg <david@ixit.cz>
This commit is contained in:
@ -147,7 +147,7 @@ eekboard_context_service_real_create_keyboard (EekboardContextService *self,
|
|||||||
|
|
||||||
gchar *keymap_str = eek_keyboard_get_keymap(keyboard);
|
gchar *keymap_str = eek_keyboard_get_keymap(keyboard);
|
||||||
|
|
||||||
int f = open("maprs.map", O_CREAT | O_WRONLY);
|
int f = open("maprs.map", O_CREAT | O_WRONLY, 0600);
|
||||||
write(f, keymap_str, strlen(keymap_str));
|
write(f, keymap_str, strlen(keymap_str));
|
||||||
close(f);
|
close(f);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user