Merge branch 'fix-path' into 'master'

Change PATH separator to double colon

See merge request redox-os/relibc!719
This commit is contained in:
Jeremy Soller
2025-09-19 11:06:10 -06:00
2 changed files with 0 additions and 8 deletions
-4
View File
@@ -356,12 +356,8 @@ pub unsafe extern "C" fn fexecve(
.or_minus_one_errno()
}
#[cfg(target_os = "linux")]
const PATH_SEPARATOR: u8 = b':';
#[cfg(target_os = "redox")]
const PATH_SEPARATOR: u8 = b';';
/// See <https://pubs.opengroup.org/onlinepubs/9799919799/functions/exec.html>.
#[no_mangle]
pub unsafe extern "C" fn execvp(file: *const c_char, argv: *const *mut c_char) -> c_int {
-4
View File
@@ -18,10 +18,6 @@ use crate::{
start::Stack,
};
#[cfg(target_os = "redox")]
pub const PATH_SEP: char = ';';
#[cfg(target_os = "linux")]
pub const PATH_SEP: char = ':';
mod access;