You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2001/04/28 02:26:38 UTC

cvs commit: httpd-2.0/modules/dav/fs dbm.c

wrowe       01/04/27 17:26:38

  Modified:    modules/aaa mod_auth_dbm.c
               modules/dav/fs dbm.c
  Log:
    Pass the perms arg to apr_dbm_open
  
  Revision  Changes    Path
  1.33      +1 -1      httpd-2.0/modules/aaa/mod_auth_dbm.c
  
  Index: mod_auth_dbm.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/aaa/mod_auth_dbm.c,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- mod_auth_dbm.c	2001/02/18 16:07:31	1.32
  +++ mod_auth_dbm.c	2001/04/28 00:26:37	1.33
  @@ -177,7 +177,7 @@
   #endif
   
   #ifdef AP_AUTH_DBM_USE_APR
  -    if (!(retval = dbm_open(&f, auth_dbmpwfile, APR_DBM_READONLY, r->pool))) {
  +    if (!(retval = dbm_open(&f, auth_dbmpwfile, APR_DBM_READONLY, APR_OS_DEFAULT, r->pool))) {
           ap_log_rerror(APLOG_MARK, APLOG_ERR, retval, r,
   		    "could not open sdbm auth file: %s", auth_dbmpwfile);
   	return NULL;
  
  
  
  1.17      +2 -1      httpd-2.0/modules/dav/fs/dbm.c
  
  Index: dbm.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/dav/fs/dbm.c,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- dbm.c	2001/02/16 04:26:35	1.16
  +++ dbm.c	2001/04/28 00:26:38	1.17
  @@ -143,7 +143,8 @@
       *pdb = NULL;
   
       if ((status = apr_dbm_open(&file, pathname,
  -                               ro ? APR_DBM_READONLY : APR_DBM_RWCREATE, p))
  +                               ro ? APR_DBM_READONLY : APR_DBM_RWCREATE, 
  +                               APR_OS_DEFAULT, p))
                   != APR_SUCCESS
           && !ro) {
           /* ### do something with 'status' */