G�nter Knauf wrote:
Hi all,
I've problems creating a SDBM database on Linux with both Apache 1.3 and 2.0 SDBM lib;
with AP2 I've tried from my module:

retval = apr_dbm_open_ex(&dbm, c->cntr_dbmtype, c->cntr_file, APR_DBM_RWCREATE, DEFAULT_DBM_PERM, r->pool);

also I have tried with permission 0x666 and 0x777, but the database isnt created; when I first touch the needed files everything works fine. Is this intended behavior, or is it somehow possible that the database is created automatically?

[EMAIL PROTECTED] is the right mailing list


does it fail just with type=sdbm, or with other types as well?

where did DEFAULT_DBM_PERM come from?

compare your code with apr-util/test/testdbm.c and see why testdbm.c works and yours doesn't






Reply via email to