11 Jul
2024
11 Jul
'24
9:30 a.m.
On Thu Jul 11 08:28:13 2024 +0000, eric pouech wrote:
not fully compatible with additonal tests: ```
set /p A=ab"c" ab"c" set /p A= ab"c" ab"c" set /p A= "ab"c ab
so likely closer to:p = WCMD_skip_leading_spaces(p); if (*p) { if (*p == L'"') { WCHAR* last = wcsrchr(p + 1, L'"'); p++; if (last) *last = L'\0';} ``` I have not tested this case, will add the code as you suggested. I will also test other cases which use \"
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/5968#note_75887