Re: [PATCH v3 0/2] MR9975: where: Add quiet mode.
28 Jan
2026
28 Jan
'26
8:08 a.m.
eric pouech (@epo) commented about programs/where/main.c:
int __cdecl wmain(int argc, WCHAR *argv[]) { WCHAR *pattern, *colon, *search_paths, *search_path, *next_search_path; + DWORD flags = 0; int i;
for (i = 0; i < argc; i++) { - if (argv[i][0] == '/') + if (argv[i][0] == '/' && wcslen(argv[i]) == 2) + { + switch(toupper(argv[i][1])) + { + case 'Q': flags |= OPT_QUIET; break; + default: + FIXME("Unsupported option %ls -- %c\n", argv[i], argv[i][1]); the %c arg is useless
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9975#note_128273
35
Age (days ago)
35
Last active (days ago)
0 comments
1 participants
participants (1)
-
eric pouech (@epo)