Feb. 25, 2024
4:46 p.m.
David Kahurani (@kahurani) commented about programs/schtasks/schtasks.c:
- return E_FAIL; - } + if (xml_mode) { + if (tr_mode) { + FIXME("/xml option can only be used with /ru /f /tn\n"); + return E_FAIL; + }
- xml = read_file_to_bstr(xml_file); - if (!xml) - return 1; + if (!xml_file) { + FIXME("Missing /xml argument\n"); + return E_FAIL; + }
I find the use of FIXME to print user error a bit weird here though there seem to be cases of this in more places than I can count in programs/\* -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5151#note_62571