diff options
Diffstat (limited to 'mail/vmailmgr/files/patch-lib_vpwtable_gdbm__del.cc')
-rw-r--r-- | mail/vmailmgr/files/patch-lib_vpwtable_gdbm__del.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/mail/vmailmgr/files/patch-lib_vpwtable_gdbm__del.cc b/mail/vmailmgr/files/patch-lib_vpwtable_gdbm__del.cc deleted file mode 100644 index d59f740c6e2a..000000000000 --- a/mail/vmailmgr/files/patch-lib_vpwtable_gdbm__del.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/vpwtable/gdbm_del.cc.orig 2002-11-20 15:54:44 UTC -+++ lib/vpwtable/gdbm_del.cc -@@ -23,7 +23,7 @@ bool vpwtable::del(const mystring& name) const - GDBM_FILE db = gdbm_open((char*)filename.c_str(), 0, GDBM_WRITER, 0, 0); - if(!db) - return false; -- datum key = { (char*)name.c_str(), name.length() }; -+ datum key = { (char*)name.c_str(), static_cast<int>(name.length()) }; - bool result = gdbm_delete(db, key) == 0; - gdbm_close(db); - return result; |