raspberrypi / picotool

BSD 3-Clause "New" or "Revised" License
566 stars 100 forks source link

Change file read mode from r to rb #1

Closed georgerennie closed 3 years ago

georgerennie commented 3 years ago

This prevents newline translations when picotool tries to read files. Without it, if newline translations occur picotool doesnt read the input files correctly.

I encountered this issue when building picotool with MSVC and using it within WSL.