mirror of
https://github.com/XunilGroup/libxunil.git
synced 2026-04-25 11:39:02 +02:00
Fix left-in write stub instead of the correct one.
This commit is contained in:
@@ -39,7 +39,7 @@ static TOUPPER_TABLE: [i32; 384] = {
|
|||||||
|
|
||||||
#[unsafe(no_mangle)]
|
#[unsafe(no_mangle)]
|
||||||
extern "C" fn write(fd: i32, buf: *const u8, count: usize) -> isize {
|
extern "C" fn write(fd: i32, buf: *const u8, count: usize) -> isize {
|
||||||
0 // unsafe { syscall3(WRITE, fd as isize, buf as isize, count as isize) }
|
unsafe { syscall3(WRITE, fd as isize, buf as isize, count as isize) }
|
||||||
}
|
}
|
||||||
|
|
||||||
#[unsafe(no_mangle)]
|
#[unsafe(no_mangle)]
|
||||||
|
|||||||
Reference in New Issue
Block a user