summaryrefslogtreecommitdiffabout
path: root/src/update.c
Side-by-side diff
Diffstat (limited to 'src/update.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/update.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/update.c b/src/update.c
index f4b8b78..e3ee717 100644
--- a/src/update.c
+++ b/src/update.c
@@ -32,3 +32,3 @@ write_header (GDBM_FILE dbf)
- file_pos = __lseek (dbf, 0L, SEEK_SET);
+ file_pos = gdbm_file_seek (dbf, 0L, SEEK_SET);
if (file_pos != 0)
@@ -52,3 +52,3 @@ write_header (GDBM_FILE dbf)
if (dbf->fast_write == FALSE)
- __fsync (dbf);
+ gdbm_file_sync (dbf);
@@ -96,3 +96,3 @@ _gdbm_end_update (GDBM_FILE dbf)
{
- file_pos = __lseek (dbf, dbf->header->dir, SEEK_SET);
+ file_pos = gdbm_file_seek (dbf, dbf->header->dir, SEEK_SET);
if (file_pos != dbf->header->dir)
@@ -116,3 +116,3 @@ _gdbm_end_update (GDBM_FILE dbf)
if (!dbf->header_changed && dbf->fast_write == FALSE)
- __fsync (dbf);
+ gdbm_file_sync (dbf);
}

Return to:

Send suggestions and report system problems to the System administrator.