mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
Add changelog
This commit is contained in:
parent
a79d5e21d0
commit
d28243c09a
2 changed files with 3 additions and 1 deletions
|
|
@ -54,6 +54,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/):
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Chafa v1.18.1 causes random ghost keypresses when previewing images ([#3678])
|
- Chafa v1.18.1 causes random ghost keypresses when previewing images ([#3678])
|
||||||
|
- `paste --force` doesn't work on existing read-only files with the same name ([#3894])
|
||||||
- Be a little defensive while parsing the output of `7zz -ba` ([#3744])
|
- Be a little defensive while parsing the output of `7zz -ba` ([#3744])
|
||||||
- Make `ya pkg` ignore default remote name in user Git config ([#3648])
|
- Make `ya pkg` ignore default remote name in user Git config ([#3648])
|
||||||
- Archive extraction fails for target paths with non-ASCII characters on Windows ([#3607])
|
- Archive extraction fails for target paths with non-ASCII characters on Windows ([#3607])
|
||||||
|
|
@ -1701,3 +1702,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/):
|
||||||
[#3854]: https://github.com/sxyazi/yazi/pull/3854
|
[#3854]: https://github.com/sxyazi/yazi/pull/3854
|
||||||
[#3862]: https://github.com/sxyazi/yazi/pull/3862
|
[#3862]: https://github.com/sxyazi/yazi/pull/3862
|
||||||
[#3891]: https://github.com/sxyazi/yazi/pull/3891
|
[#3891]: https://github.com/sxyazi/yazi/pull/3891
|
||||||
|
[#3894]: https://github.com/sxyazi/yazi/pull/3894
|
||||||
|
|
|
||||||
|
|
@ -138,7 +138,7 @@ impl<'a> Provider for Local<'a> {
|
||||||
let perm = if mode.contains(ChaMode::U_WRITE) { libc::S_IWRITE } else { libc::S_IREAD };
|
let perm = if mode.contains(ChaMode::U_WRITE) { libc::S_IWRITE } else { libc::S_IREAD };
|
||||||
|
|
||||||
return tokio::task::spawn_blocking(move || {
|
return tokio::task::spawn_blocking(move || {
|
||||||
let result = unsafe { libc::_wchmod(path.as_ptr(), perm) };
|
let result = unsafe { libc::wchmod(path.as_ptr(), perm) };
|
||||||
if result == 0 { Ok(()) } else { Err(io::Error::last_os_error()) }
|
if result == 0 { Ok(()) } else { Err(io::Error::last_os_error()) }
|
||||||
})
|
})
|
||||||
.await?;
|
.await?;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue