You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2019. It is now read-only.
Possible values:
__WASI_FILESTAT_SET_ATIM
Adjust the last data access timestamp to the value stored in __wasi_filestat_t::st_atim.
__WASI_FILESTAT_SET_ATIM_NOW
Adjust the last data access timestamp to the time of clock __WASI_CLOCK_REALTIME.
__WASI_FILESTAT_SET_MTIM
Adjust the last data modification timestamp to the value stored in __wasi_filestat_t::st_mtim.
__WASI_FILESTAT_SET_MTIM_NOW
Adjust the last data modification timestamp to the time of clock __WASI_CLOCK_REALTIME.
It is unclear what the behavior is, when the both flags __WASI_FILESTAT_SET_MTIM and __WASI_FILESTAT_SET_MTIM_NOW are set. Should whichever of them take precedence or should one return EINVAL? This should be clarified in the API docs.
I suggest we return EINVAL
The text was updated successfully, but these errors were encountered:
@marmistrz are you going to file an issue in WASI issue tracker as suggested by @sunfishcode? Or @sunfishcode will you do it? Either way, after it happens, I suggest we make references from this one to the one in WASI tracker, and close this one.
It is unclear what the behavior is, when the both flags
__WASI_FILESTAT_SET_MTIM
and__WASI_FILESTAT_SET_MTIM_NOW
are set. Should whichever of them take precedence or should one returnEINVAL
? This should be clarified in the API docs.I suggest we return
EINVAL
The text was updated successfully, but these errors were encountered: