Skip to content
Snippets Groups Projects
Verified Commit a6642bc7 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Fix missing separator

parent a29aa9f5
Branches
Tags
No related merge requests found
Pipeline #1757 passed with warnings
......@@ -172,6 +172,7 @@ pub unsafe extern "C" fn execvp(file: *const c_char, argv: *const *mut c_char) -
let path_env = CStr::from_ptr(path_env);
for mut path in path_env.to_bytes().split(|&b| b == PATH_SEPARATOR) {
let mut program = path.to_vec();
program.push(b'/');
program.extend_from_slice(file.to_bytes());
program.push(b'0');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment