subversion/libsvn_fs_fs/fs_fs.c
/* Wrapper around svn_io_file_create which ignores EEXIST. */
Wrapper around svn_io_file_create which ignores EEXIST.
Wrapper around svn_io_file_create which ignores EEXIST .
static svn_error_t *
create_file_ignore_eexist(const char *file,
                          const char *contents,
                          apr_pool_t *pool)
{
  svn_error_t *err = svn_io_file_create(file, contents, pool);
  if (err && APR_STATUS_IS_EEXIST(err->apr_err))
    {
      svn_error_clear(err);
      err = SVN_NO_ERROR;
    }
  return svn_error_trace(err);
}
static svn_error_t * create_file_ignore_eexist ( const char * file , const char * contents , apr_pool_t * pool ) { svn_error_t * err = svn_io_file_create ( file , contents , pool ) ; if ( err && APR_STATUS_IS_EEXIST ( err -> apr_err ) ) { svn_error_clear ( err ) ; err = SVN_NO_ERROR ; } return svn_error_trace ( err ) ; }
Wrapper around svn_io_file_create which ignores EEXIST.
Wrapper around svn_io_file_create which ignores EEXIST .