58ce78eeda
memory copy of the file is dirty, is will be synced when the child exists. But the parent may have done changes to the database in the meantime, resulting in a db corruption. Fix this by calling sync_file() just before the fork. The child will still have a reference to the db, but won't try to write it on exit. |
||
---|---|---|
.. | ||
Makefile | ||
rpc.statd.8 | ||
stat_proc.c | ||
statd.c | ||
statd.h | ||
test.c |