aboutsummaryrefslogtreecommitdiff
path: root/src/update.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/update.c')
-rw-r--r--src/update.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/update.c b/src/update.c
index e3ee717..d10d31f 100644
--- a/src/update.c
+++ b/src/update.c
@@ -122,6 +122,8 @@ _gdbm_end_update (GDBM_FILE dbf)
{
if (write_header (dbf))
return -1;
+ if (_gdbm_file_extend (dbf, dbf->header->next_block))
+ return -1;
dbf->header_changed = FALSE;
}

Return to:

Send suggestions and report system problems to the System administrator.