summaryrefslogtreecommitdiffabout
path: root/src/gdbmstore.c
Side-by-side diff
Diffstat (limited to 'src/gdbmstore.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/gdbmstore.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/gdbmstore.c b/src/gdbmstore.c
index 2ed1616..6b498b2 100644
--- a/src/gdbmstore.c
+++ b/src/gdbmstore.c
@@ -162,4 +162,3 @@ gdbm_store (GDBM_FILE dbf, datum key, datum content, int flags)
/* Write the data to the file. */
- file_pos = GDBM_DEBUG_OVERRIDE ("gdbm_store:seek-failure",
- __lseek (dbf, file_adr, SEEK_SET));
+ file_pos = __lseek (dbf, file_adr, SEEK_SET);
if (file_pos != file_adr)
@@ -173,4 +172,3 @@ gdbm_store (GDBM_FILE dbf, datum key, datum content, int flags)
- rc = GDBM_DEBUG_OVERRIDE ("gdbm_store:write-1-failure",
- _gdbm_full_write (dbf, key.dptr, key.dsize));
+ rc = _gdbm_full_write (dbf, key.dptr, key.dsize);
if (rc)
@@ -184,5 +182,3 @@ gdbm_store (GDBM_FILE dbf, datum key, datum content, int flags)
- rc = GDBM_DEBUG_OVERRIDE ("gdbm_store:write-2-failure",
- _gdbm_full_write (dbf,
- content.dptr, content.dsize));
+ rc = _gdbm_full_write (dbf, content.dptr, content.dsize);
if (rc)

Return to:

Send suggestions and report system problems to the System administrator.