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 62bbe6d commit 329b97aCopy full SHA for 329b97a
lib/xy.h
@@ -19,7 +19,7 @@
19
#ifndef XY_H
20
#define XY_H
21
22
-#define _XY_Version "v0.1.6.1-2025/08/18"
+#define _XY_Version "v0.1.6.0-2025/08/18"
23
#define _XY_Maintain_URL "https://github.com/RubyMetric/chsrc/blob/dev/lib/xy.h"
24
#define _XY_Maintain_URL2 "https://gitee.com/RubyMetric/chsrc/blob/dev/lib/xy.h"
25
@@ -968,11 +968,6 @@ xy_normalize_path (const char *path)
968
new = xy_2strjoin (xy_os_home, xy_str_delete_prefix (new, "~"));
969
}
970
971
- // 在特殊情况下上面的替换最终可能导致形如 `/foo//bar/` 之类的东西
972
- // 建议进行去重处理以防万一
973
- //new = xy_str_gsub (new, "\\", "/");
974
- //new = xy_str_gsub (new, "//", "/");
975
-
976
if (xy_on_windows)
977
return xy_str_gsub (new, "/", "\\");
978
else
0 commit comments