Lines Matching defs:path
236 char *path = apr_pstrcat(pool, ctx->storage_path, ".tmp.XXXXXX", NULL);
240 rv = apr_file_mktemp(&fp, path, APR_CREATE | APR_WRITE, pool);
244 "Unable to open tmp file: %s", path);
354 "Unable to flush file: %s", path);
361 "Unable to close file: %s", path);
365 rv = apr_file_perms_set(path,
371 path);
375 rv = apr_file_rename(path, ctx->storage_path, pool);
379 "Unable to move file: %s -> %s", path,
401 char *path = apr_pstrcat(p, ctx->storage_path, ".tmp.XXXXXX", NULL);
403 rv = apr_file_mktemp(&fp, path, APR_CREATE | APR_WRITE, p);
407 "Unable to open tmp file: %s", path);
433 "Unable to flush file: %s", path);
440 "Unable to close file: %s", path);
444 rv = apr_file_perms_set(path,
450 path);
454 rv = apr_file_rename(path, ctx->storage_path, p);
458 "Unable to move file: %s -> %s", path,
807 void *dconf, const char *path)
819 ctx->storage_path = ap_runtime_dir_relative(p, path);