FreeBSD/contrib/subversion/subversion/libsvn_fs_x/hotcopy.c
/* Remove file PATH, if it exists - even if it is read-only.
 * Use SCRATCH_POOL for temporary allocations. */
Remove file PATH, if it exists - even if it is read-only.
Use SCRATCH_POOL for temporary allocations.
Remove file PATH if it exists - even if it is read - only . Use SCRATCH_POOL for temporary allocations .
static svn_error_t *
hotcopy_remove_file(const char *path,
                    apr_pool_t *scratch_pool)
{
  SVN_ERR(svn_io_set_file_read_write(path, TRUE, scratch_pool));
  SVN_ERR(svn_io_remove_file2(path, TRUE, scratch_pool));
  return SVN_NO_ERROR;
}
static svn_error_t * hotcopy_remove_file ( const char * path , apr_pool_t * scratch_pool ) { SVN_ERR ( svn_io_set_file_read_write ( path , TRUE , scratch_pool ) ) ; SVN_ERR ( svn_io_remove_file2 ( path , TRUE , scratch_pool ) ) ; return SVN_NO_ERROR ; }
Remove file PATH, if it exists - even if it is read-only.
Remove file PATH if it exists - even if it is read - only .
/* Make the rev file writable and remove it. */