diff options
author | Ivan Zhakov <ivan@apache.org> | 2019-04-28 19:17:31 +0000 |
---|---|---|
committer | Ivan Zhakov <ivan@apache.org> | 2019-04-28 19:17:31 +0000 |
commit | 2ed1d3429b7881dc7af91aece0608b88b9becaff (patch) | |
tree | 6f93d93c6fdd2508b16b7c6b9d292d6275da4d1b /file_io | |
parent | d688418b22c785a031774fbe9ce20b7d6c30e711 (diff) | |
download | apr-2ed1d3429b7881dc7af91aece0608b88b9becaff.tar.gz |
* file_io/win32/filestat.c: Use IsReparseTagNameSurrogate() macro to test for
"Name surrogate bit".
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1858337 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io')
-rw-r--r-- | file_io/win32/filestat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/file_io/win32/filestat.c b/file_io/win32/filestat.c index 904124db7..26ea616f9 100644 --- a/file_io/win32/filestat.c +++ b/file_io/win32/filestat.c @@ -272,7 +272,7 @@ static int reparse_point_is_link(WIN32_FILE_ATTRIBUTE_DATA *wininfo, // Test "Name surrogate bit" to detect any kind of symbolic link // See https://docs.microsoft.com/en-us/windows/desktop/fileio/reparse-point-tags - return tag & 0x20000000; + return IsReparseTagNameSurrogate(tag); } apr_status_t more_finfo(apr_finfo_t *finfo, const void *ufile, |