aboutsummaryrefslogtreecommitdiff
path: root/shells/fish/files/patch-src_path.rs
diff options
context:
space:
mode:
Diffstat (limited to 'shells/fish/files/patch-src_path.rs')
-rw-r--r--shells/fish/files/patch-src_path.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/shells/fish/files/patch-src_path.rs b/shells/fish/files/patch-src_path.rs
new file mode 100644
index 000000000000..01335107ef4e
--- /dev/null
+++ b/shells/fish/files/patch-src_path.rs
@@ -0,0 +1,11 @@
+--- src/path.rs.orig 2025-09-15 19:16:57 UTC
++++ src/path.rs
+@@ -710,7 +710,7 @@ fn path_remoteness(path: &wstr) -> DirRemoteness {
+ #[cfg(not(target_os = "linux"))]
+ {
+ fn remoteness_via_statfs<StatFS, Flags>(
+- statfn: unsafe extern "C" fn(*const i8, *mut StatFS) -> libc::c_int,
++ statfn: unsafe extern "C" fn(*const libc::c_char, *mut StatFS) -> libc::c_int,
+ flagsfn: fn(&StatFS) -> Flags,
+ is_local_flag: u64,
+ path: &std::ffi::CStr,