From de03844917b6785e1b005a547c0b61e26817c93e Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Sat, 6 Aug 2011 09:24:04 +0000 Subject: (DBM) : New member. --- compat/ndbm.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'compat') diff --git a/compat/ndbm.h b/compat/ndbm.h index 0a28e6c..f6607bc 100644 --- a/compat/ndbm.h +++ b/compat/ndbm.h @@ -34,9 +34,10 @@ /* The file information header. */ typedef struct { - GDBM_FILE file; - datum _dbm_memory; - char *_dbm_fetch_val; + GDBM_FILE file; /* Actual gdbm file (held in the .pag file */ + int dirfd; /* Descriptor of the .dir file */ + datum _dbm_memory; /* Keeps the last returned key */ + char *_dbm_fetch_val; /* Keeps the dptr of the last fetched datum */ } DBM; /* These are the routines (with some macros defining them!) */ -- cgit v1.2.1