diff options
Diffstat (limited to 'content/fs_backing_store.c')
-rw-r--r-- | content/fs_backing_store.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/content/fs_backing_store.c b/content/fs_backing_store.c index 56091d1f9..4cf029202 100644 --- a/content/fs_backing_store.c +++ b/content/fs_backing_store.c @@ -611,6 +611,8 @@ static nserror write_entries(struct store_state *state) return ret; } + /* remove() call is to handle non-POSIX rename() implementations */ + (void)remove(fname); if (rename(tname, fname) != 0) { unlink(tname); free(tname); |