You've already forked linux-packaging-mono
Imported Upstream version 6.8.0.73
Former-commit-id: d18deab1b47cfd3ad8cba82b3f37d00eec2170af
This commit is contained in:
parent
bceda29824
commit
73ee7591e8
@@ -75,8 +75,8 @@ namespace System.IO
|
||||
ERROR_SHARING_BUFFER_EXCEEDED = 36,
|
||||
ERROR_HANDLE_EOF = 38,
|
||||
*/ ERROR_HANDLE_DISK_FULL = 39,
|
||||
ERROR_NOT_SUPPORTED = 50,
|
||||
/* ERROR_REM_NOT_LIST = 51,
|
||||
ERROR_NOT_SUPPORTED = 50,
|
||||
/* ERROR_REM_NOT_LIST = 51,
|
||||
ERROR_DUP_NAME = 52,
|
||||
ERROR_BAD_NETPATH = 53,
|
||||
ERROR_NETWORK_BUSY = 54,
|
||||
|
||||
@@ -734,7 +734,7 @@ namespace System.IO {
|
||||
if (Environment.IsRunningOnWindows)
|
||||
dirs[i] = dirs[i].TrimEnd ();
|
||||
|
||||
if (dirs[i] == "." || (i != 0 && dirs[i].Length == 0))
|
||||
if ((!(isUnc && i == 2) && dirs[i] == ".") || (i != 0 && dirs[i].Length == 0))
|
||||
continue;
|
||||
else if (dirs[i] == "..") {
|
||||
// don't overwrite path segments below the limit
|
||||
|
||||
Reference in New Issue
Block a user