Home
last modified time | relevance | path

Searched refs:db_path (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/external/ibm-public/postfix/dist/src/util/
H A Ddict_db.c582 static DB_ENV *dict_db_new_env(const char *db_path) in dict_db_new_env() argument
607 if ((errno = dbenv->open(dbenv, sane_dirname(db_home_buf, db_path), in dict_db_new_env()
624 char *db_path = 0; in dict_db_open() local
665 db_path = concatenate(path, ".db", (char *) 0); in dict_db_open()
684 if (db_path) myfree(db_path); return (_dict); \ in dict_db_open()
692 if (db_path) myfree(db_path); \ in dict_db_open()
698 if ((lock_fd = open(db_path, LOCK_OPEN_FLAGS(open_flags), 0644)) < 0) { in dict_db_open()
701 "open database %s: %m", db_path)); in dict_db_open()
704 msg_fatal("shared-lock database %s for open: %m", db_path); in dict_db_open()
715 if ((db = dbopen(db_path, open_flags, 0644, type, tweak)) == 0) in dict_db_open()
[all …]
/netbsd-src/usr.bin/locate/locate/
H A Dlocate.c94 const char *db_path; member
126 dbp->db_path = path; in add_db()
176 dbp->db_path); in main()