Do not copy the file pointer when opening a database
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 12 Dec 2017 17:11:27 +0000 (17:11 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 12 Dec 2017 17:11:27 +0000 (17:11 +0000)
commita7431f1aba0f8dba2005e8374acf8f14d397b74a
treead63c3b7f90a6ad52dfe85b5e10b36ab5afab0c6
parent0676cd80d138ede098fe655ab73500efc66f5df2
Do not copy the file pointer when opening a database

We don't need this at all when we are using mmap to read
any data from any of the sections.

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