ensure that our state subdirectory is present */ ### does this belong here or in dav_fs_repos.c ?? */
| 117 | /* ensure that our state subdirectory is present */ |
| 118 | /* ### does this belong here or in dav_fs_repos.c ?? */ |
| 119 | void dav_fs_ensure_state_dir(apr_pool_t * p, const char *dirname) |
| 120 | { |
| 121 | const char *pathname = apr_pstrcat(p, dirname, "/" DAV_FS_STATE_DIR, NULL); |
| 122 | |
| 123 | /* ### do we need to deal with the umask? */ |
| 124 | |
| 125 | /* just try to make it, ignoring any resulting errors */ |
| 126 | (void) apr_dir_make(pathname, APR_OS_DEFAULT, p); |
| 127 | } |
| 128 | |
| 129 | /* dav_dbm_open_direct: Opens a *dbm database specified by path. |
| 130 | * ro = boolean read-only flag. |
no outgoing calls
no test coverage detected