Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Reading files with "rb" causes issues in Windows #162
In input.cc:18 the .re file is opened in binary mode - fopen (file_name.c_str (), "rb");
because the back-slash is followed by a '\r' and then a '\n'
column number is 6 is the reference file, result is 7 due to extra '\r'
In git, when a repository is cloned in Windows, all text files get '\r\n' line endings, which are then converted to '\n' on commit. By opening in binary mode in input.cc, the '\r' are not filtered by stdio.
On Mon, Nov 7, 2016 at 10:00 AM, skvadrik firstname.lastname@example.org wrote: