21 Nov
2024
21 Nov
'24
10:54 a.m.
eric pouech (@epo) commented about programs/timeout/main.c:
+ } + + for (int i = 1; i < argc; i++) + { + if (wcscmp(argv[i], L"/?") == 0) + { + timeout_message(STRING_USAGE); + ret = 0; + goto done; + } + else if (wcsicmp(argv[i], L"/t") == 0) + { + if ((i + 1) < argc) + { + i++; + wait_time = _wtoi(argv[i]); two nitpicks here:
* native fails with "/T 10foobar" * valid values for /T arg range from -1 to 99999 -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6869#note_88285