1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-06 13:07:35 +00:00
serenity/Userland/Libraries/LibWasm/WASI
Ali Mohammad Pur 538c308357 LibWasm: Stop passing a nonzero 'mode' to open(..., O_DIRECTORY)
Bionic warns on this, but not passing the mode argument is technically
undefined behaviour (depending on the libc implementation of open), as
our LibC reads `mode` unconditionally (yolo!), just pass a zero to avoid
the UB.
2023-06-10 07:18:02 +02:00
..
Wasi.cpp LibWasm: Stop passing a nonzero 'mode' to open(..., O_DIRECTORY) 2023-06-10 07:18:02 +02:00