History sometimes disappears
Hi,
I have noticed that a zathura history (most recently viewed pages, etc.) disappears every so often i.e. the history file (~/.local/share/zathura/history) is truncated. After investigation, I found that at database-plain.c:652 the file is opened via fopen with invalid (nonexistent) mode "rw". After building the source (version 0.4.1) with the mode fixed to "r+" I have not encountered this problem (over a month has passed now). The problem still occurs in version 0.4.3. I do not know if this line is causing the problem, but it should be fixed either way.
Edited by seb321