]> git.ipfire.org Git - location/libloc.git/commit
database: Re-open the file handle in r+ mode
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 11 May 2024 11:10:06 +0000 (12:10 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 11 May 2024 11:10:06 +0000 (12:10 +0100)
commit7654a5beb9b46758af613f15e01f8e0d0b3bd730
tree2f57261fdc1fa2e3b10ad5ad2248feab1d7b7082
parentf9a55387589e97aab892fdbf44e5b3e0419a78f8
database: Re-open the file handle in r+ mode

On Mac OS, we cannot re-read our temporary file from the testsuite unless we re-open in r+ mode.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/database.c