mirror of
https://git.proxmox.com/git/wasi-libc
synced 2025-08-06 14:43:04 +00:00
![]() Previously, utimensat would leave the mtim and/or atim timestamps uninitialized when the `MTIM_NOW` or `ATIM_NOW` were in use, because that means the respective timestamps are not used. However, clang now automatically adds `noundef` to the arguments in functions like `__wasi_path_filestat_set_times`, and there are cases where simplifycfg can see paths where the uninitialized values are passed to those `noundef` arguments. To fix this, change the utimens code to zero out the timestamps when they aren't in use, to avoid passing uninitialized arguments. |
||
---|---|---|
.. | ||
src | ||
LICENSE |