Frédéric Delanoy frederic.delanoy@gmail.com writes:
@@ -902,8 +902,10 @@ void WCMD_for (WCHAR *p, CMD_LIST **cmdList) { WIN32_FIND_DATAW fd; HANDLE hff; int i;
- const WCHAR inW[] = {'i', 'n', ' ', '\0'};
- const WCHAR doW[] = {'d', 'o', ' ', '\0'};
- const WCHAR inW[] = {'i', 'n', ' ', '\0'};
- const WCHAR inTabW[] = {'i', 'n', '\t', '\0'};
- const WCHAR doW[] = {'d', 'o', ' ', '\0'};
- const WCHAR doTabW[] = {'d', 'o', '\t', '\0'};
You don't want to duplicate every string this way. This needs some sort of helper function.