mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
3ad259e1b9
commit
7bba667043
1 changed files with 1 additions and 1 deletions
|
|
@ -53,8 +53,8 @@ async fn _paths_to_same_file(a: &Path, b: &Path) -> std::io::Result<bool> {
|
|||
.open(p)
|
||||
.await?;
|
||||
|
||||
let mut buf = [0u16; MAX_PATH as usize];
|
||||
tokio::task::spawn_blocking(move || {
|
||||
let mut buf = [0u16; MAX_PATH as usize];
|
||||
let len = unsafe {
|
||||
GetFinalPathNameByHandleW(
|
||||
file.as_raw_handle() as HANDLE,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue