Merge branch 'compile_fix' into 'master'

fix compilation

See merge request Librem5/squeekboard!133
This commit is contained in:
Dorota Czaplejewicz
2019-08-15 08:57:34 +00:00

View File

@ -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);