summaryrefslogtreecommitdiff
path: root/FreeFileSync/Source/afs/native.cpp
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-12-08 13:14:11 +0000
committerB Stack <bgstack15@gmail.com>2020-12-08 13:14:11 +0000
commit35adf35f7d3b7744d58d7ff27fcaf1bb843060aa (patch)
tree8e5414c3b8a914f57a1d4dc92ee0e55ae1f6e9ee /FreeFileSync/Source/afs/native.cpp
parentMerge branch '11.3' into 'master' (diff)
parentadd upstream 11.4 (diff)
downloadFreeFileSync-35adf35f7d3b7744d58d7ff27fcaf1bb843060aa.tar.gz
FreeFileSync-35adf35f7d3b7744d58d7ff27fcaf1bb843060aa.tar.bz2
FreeFileSync-35adf35f7d3b7744d58d7ff27fcaf1bb843060aa.zip
Merge branch '11.4' into 'master'11.4
add upstream 11.4 See merge request opensource-tracking/FreeFileSync!28
Diffstat (limited to 'FreeFileSync/Source/afs/native.cpp')
-rw-r--r--FreeFileSync/Source/afs/native.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/FreeFileSync/Source/afs/native.cpp b/FreeFileSync/Source/afs/native.cpp
index 4bcaf2a7..68a01d04 100644
--- a/FreeFileSync/Source/afs/native.cpp
+++ b/FreeFileSync/Source/afs/native.cpp
@@ -684,6 +684,9 @@ bool fff::acceptsItemPathPhraseNative(const Zstring& itemPathPhrase) //noexcept
trim(path);
+ if (path.empty()) //eat up empty paths before other AFS implementations get a chance!
+ return true;
+
if (startsWith(path, Zstr('['))) //drive letter by volume name syntax
return true;
bgstack15