https://bugs.winehq.org/show_bug.cgi?id=53386
Eric Pouech eric.pouech@orange.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech@orange.fr
--- Comment #1 from Eric Pouech eric.pouech@orange.fr --- Created attachment 72777 --> https://bugs.winehq.org/attachment.cgi?id=72777 patch
Hi Arek,
thanks for the report
additional testing on Windows show that a command file (.bat), written in UNICODE with BOM is executed with ANSI read operations
hence current implementation of builtin cmd.exe (where all line reading is done in WCMD_fgets) fails apart
this attached patch solves the first issue of infinite loop
it may well be that it could solve this very unicode issue would you mind testing it?
A+