You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
883 B

  1. diff -Naur postfix-2.11.3/src/util/dict_db.c postfix-2.11.3_patched/src/util/dict_db.c
  2. --- postfix-2.11.3/src/util/dict_db.c 2012-01-25 04:41:08.000000000 +0400
  3. +++ postfix-2.11.3_patched/src/util/dict_db.c 2014-11-01 12:36:44.287641712 +0300
  4. @@ -687,8 +687,8 @@
  5. msg_panic("db_create null result");
  6. if ((errno = db->set_cachesize(db, 0, dict_db_cache_size, 0)) != 0)
  7. msg_fatal("set DB cache size %d: %m", dict_db_cache_size);
  8. - if (type == DB_HASH && db->set_h_nelem(db, DICT_DB_NELM) != 0)
  9. - msg_fatal("set DB hash element count %d: %m", DICT_DB_NELM);
  10. +// if (type == DB_HASH && db->set_h_nelem(db, DICT_DB_NELM) != 0)
  11. +// msg_fatal("set DB hash element count %d: %m", DICT_DB_NELM);
  12. #if DB_VERSION_MAJOR == 6 || DB_VERSION_MAJOR == 5 || \
  13. (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR > 0)
  14. if ((errno = db->open(db, 0, db_path, 0, type, db_flags, 0644)) != 0)