Changeset 23128

Show
Ignore:
Timestamp:
12.10.2010 15:31:01 (9 years ago)
Author:
kjdon
Message:

made the gdbm_delete error a bit more informative

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/src/gdbmedit/txt2db/txt2db.cpp

    r18880 r23128  
    178178    // delete the given key 
    179179    if (gdbm_delete(dbf, key_data) < 0) { 
    180       cerr << "gdbm_delete returned an error" << endl; 
     180      cerr << "gdbm_delete returned an error trying to delete key " << key << ": " << gdbm_strerror (gdbm_errno) <<endl; 
    181181    } 
    182182      }