Skip to content

Commit 6bad425

Browse files
committed
fix
1 parent b761de0 commit 6bad425

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/mingw/src/files/FileSystemMingw.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ internal actual fun atomicMoveImpl(source: Path, destination: Path) {
3939
}
4040

4141
internal actual fun dirnameImpl(path: String): String {
42+
val path = path.replace(UnixPathSeparator, WindowsPathSeparator)
4243
memScoped {
4344
val p = path.wcstr.ptr
4445
// we don't care the result, even it failed.

0 commit comments

Comments
 (0)