Change PATH separator to double colon

This commit is contained in:
Wildan M
2025-09-19 21:48:38 +07:00
parent f4a7bcf92d
commit b541ee43be
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;