diagnostics: Windows compatibility issues
commitcfef21f5b0a5c4291dcaa019e287210064371edb
authorAkim Demaille <akim.demaille@gmail.com>
Sat, 3 Sep 2022 06:51:17 +0000 (3 08:51 +0200)
committerAkim Demaille <akim.demaille@gmail.com>
Sat, 3 Sep 2022 06:58:49 +0000 (3 08:58 +0200)
treed5d1dd56c09f53fe3cf068828737dd423d89333a
parent5555f4d05163316b8b5bddbdb172c0f5bae6f765
diagnostics: Windows compatibility issues

Suggested by Bruno Haible
<https://lists.gnu.org/r/bug-bison/2022-08/msg00006.html>
following a report from Andrei Malashkin
<https://lists.gnu.org/r/bug-bison/2022-08/msg00003.html>

* src/location.c (caret_set_file): Read the file in binary.
We already deal with CRLF in caret_getc_internal.
THANKS
src/location.c