Fix creation of Berkeley db files.
* include/mailutils/util.h (mu_file_mode_to_safety_criteria) (mu_safety_criteria_to_file_mode): New protos. * libmailutils/base/filesafety.c (safety_checker) <mode>: New member. (file_safety_check_tab): Update. (mu_file_mode_to_safety_criteria) (mu_safety_criteria_to_file_mode): New functions. * libmu_dbm/berkeley.c (do_bdb_open): Create file prior to locking it.
Showing
3 changed files
with
56 additions
and
8 deletions
-
Please register or sign in to post a comment