Remove all uses of the legacy scheme syntax"

This commit is contained in:
bjorn3
2024-08-04 13:44:42 +02:00
parent a38638542d
commit 49c708f537
15 changed files with 39 additions and 35 deletions
+1 -1
View File
@@ -746,7 +746,7 @@ pub unsafe extern "C" fn posix_memalign(
#[no_mangle]
pub unsafe extern "C" fn posix_openpt(flags: c_int) -> c_int {
#[cfg(target_os = "redox")]
let r = open((b"pty:\0" as *const u8).cast(), O_CREAT);
let r = open((b"/scheme/pty\0" as *const u8).cast(), O_CREAT);
#[cfg(target_os = "linux")]
let r = open((b"/dev/ptmx\0" as *const u8).cast(), flags);