[PATCH 2/2] widl: open files to write in binary mode
Jacek Caban
jacek at codeweavers.com
Thu Dec 17 09:03:37 CST 2020
On 17.12.2020 08:06, Steve Lhomme wrote:
>
> I meant that for generated files it's fine, so I agree with you. I
> fear that forcing binary mode for input files as well may break
> reading some files with windows line ending on Windows. I don't think
> that's the case in mingw-w64 but it may have some side effects elsewhere.
Note that binary mode results in more or less what we use on Unix, so if
reading in text or binary mode changes output, it would most likely mean
that we don't do it right on one of hosts. In practice, new lines are
consumed by lexer and both modes should be fine.
Jacek
More information about the wine-devel
mailing list