unlink() history file after opening it

Authored by mglb on Oct 10 2019, 11:36 PM.

Description

unlink() history file after opening it

unlink() removes file entry from filesystem. Since the file is already
opened, it will still be available for reading and writing. This
guarantees the file won't remain in filesystem after process
termination, even when there was a crash.

Fixes https://bugs.kde.org/show_bug.cgi?id=412705

Details

Committed
mglbOct 11 2019, 1:26 AM
Parents
R319:17e1953d910a: Remove unused argument from history-related classes
Branches
Unknown
Tags
Unknown