Apply shim to lseek too (for macOS)
This commit is contained in:
parent
03b5d95cff
commit
0d0902a1e1
@ -489,7 +489,9 @@ fn emulate_foreign_item(
|
||||
this.write_scalar(Scalar::from_int(result, dest.layout.size), dest)?;
|
||||
}
|
||||
|
||||
"lseek64" => {
|
||||
| "lseek64"
|
||||
| "lseek"
|
||||
=> {
|
||||
let result = this.lseek64(args[0], args[1], args[2])?;
|
||||
this.write_scalar(Scalar::from_int(result, dest.layout.size), dest)?;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user