aboutsummaryrefslogtreecommitdiff
path: root/devel/pijul/files/patch-cargo-crates_pager-0.16.0_src_utils.rs
blob: aebfb62c5ae754c9e7b347bbc653b97cdf0d7e20 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- cargo-crates/pager-0.16.0/src/utils.rs.orig	2021-07-20 20:40:27 UTC
+++ cargo-crates/pager-0.16.0/src/utils.rs
@@ -66,7 +66,7 @@ pub(crate) fn execvpe(cmd: &OsString, envs: &[OsString
     };
     #[cfg(not(target_os = "macos"))]
     unsafe {
-        libc::execvpe(args[0], args.as_ptr(), envs.as_ptr())
+        libc::execve(args[0], args.as_ptr(), envs.as_ptr())
     };
 }