5 Feb
2024
5 Feb
'24
7:12 p.m.
Piotr Caban (@piotr) commented about dlls/msvcrt/time.c:
if(!secs) return NULL;
+ if (*secs < 0) + { + *_errno() = EINVAL; + return NULL; + }
The function succeeds for `*secs == -1` in ucrtbase (I didn't test other versions). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5024#note_60058