summaryrefslogtreecommitdiffstats
path: root/subversion/libsvn_wc/wc_db_util.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2014-02-20 19:26:10 +0000
committerpeter <peter@FreeBSD.org>2014-02-20 19:26:10 +0000
commitb168ae828108b6f3a7d68ace24b6e8383a081fb5 (patch)
treee6232088e2faabbf0f1a6e568df3285323f27c5c /subversion/libsvn_wc/wc_db_util.c
parentd071fadd4866ee3cac65d15a4f6283a75939137d (diff)
downloadFreeBSD-src-b168ae828108b6f3a7d68ace24b6e8383a081fb5.zip
FreeBSD-src-b168ae828108b6f3a7d68ace24b6e8383a081fb5.tar.gz
Vendor import svn-1.8.8
Diffstat (limited to 'subversion/libsvn_wc/wc_db_util.c')
-rw-r--r--subversion/libsvn_wc/wc_db_util.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/subversion/libsvn_wc/wc_db_util.c b/subversion/libsvn_wc/wc_db_util.c
index 39dd034..a6616e4 100644
--- a/subversion/libsvn_wc/wc_db_util.c
+++ b/subversion/libsvn_wc/wc_db_util.c
@@ -136,22 +136,6 @@ svn_wc__db_util_open_db(svn_sqlite__db_t **sdb,
svn_dirent_local_style(sdb_abspath,
scratch_pool));
}
-#ifndef WIN32
- else
- {
- apr_file_t *f;
-
- /* A standard SQLite build creates a DB with mode 644 ^ !umask
- which means the file doesn't have group/world write access
- even when umask allows it. By ensuring the file exists before
- SQLite gets involved we give it the permissions allowed by
- umask. */
- SVN_ERR(svn_io_file_open(&f, sdb_abspath,
- (APR_READ | APR_WRITE | APR_CREATE),
- APR_OS_DEFAULT, scratch_pool));
- SVN_ERR(svn_io_file_close(f, scratch_pool));
- }
-#endif
SVN_ERR(svn_sqlite__open(sdb, sdb_abspath, smode,
my_statements ? my_statements : statements,
OpenPOWER on IntegriCloud