diff options
author | Peter Wemm <peter@FreeBSD.org> | 2018-10-08 08:34:55 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2018-10-08 08:34:55 +0000 |
commit | f3520a04ffc9f2c22dc693226fd2a480a4192da1 (patch) | |
tree | 19339c70c87a08c32b01175500d4284f409925ee /subversion/libsvn_subr/io.c | |
parent | 3faf8d6bffc5d0fb2525ba37bb504c53366caf9d (diff) |
Notes
Diffstat (limited to 'subversion/libsvn_subr/io.c')
-rw-r--r-- | subversion/libsvn_subr/io.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/subversion/libsvn_subr/io.c b/subversion/libsvn_subr/io.c index 8c4f26760507e..a1bc29c09b7f2 100644 --- a/subversion/libsvn_subr/io.c +++ b/subversion/libsvn_subr/io.c @@ -342,8 +342,13 @@ io_check_path(const char *path, /* Not using svn_io_stat() here because we want to check the apr_err return explicitly. */ SVN_ERR(cstring_from_utf8(&path_apr, path, pool)); - +#ifdef WIN32 + /* on Windows, svn does not handle reparse points or hard links. + So ignore the 'resolve_symlinks' flag. */ + flags = APR_FINFO_MIN; +#else flags = resolve_symlinks ? APR_FINFO_MIN : (APR_FINFO_MIN | APR_FINFO_LINK); +#endif apr_err = apr_stat(&finfo, path_apr, flags, pool); if (APR_STATUS_IS_ENOENT(apr_err)) |