We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63d4e1a commit 5213bb5Copy full SHA for 5213bb5
+stdlib/canonical.m
@@ -31,7 +31,7 @@
31
return
32
end
33
34
-if ispc && startsWith(c, "\\")
+if ispc && strncmp(c, "\\", 2)
35
% UNC path is not canonicalized
36
37
+stdlib/normalize.m
@@ -25,7 +25,7 @@
25
% use split to remove /../ and /./ and duplicated /
26
parts = split(n, '/');
27
i0 = 1;
28
- if startsWith(n, "/")
+ if strncmp(n, "/", 1)
29
n = "/";
30
elseif ispc && strlength(n) >= 2 && strlength(stdlib.root_name(p))
n = parts(1);
0 commit comments