rtissera / libchdr

Standalone library for reading MAME's CHDv1-v5 formats.
BSD 3-Clause "New" or "Revised" License
99 stars 42 forks source link

Clean up DOS line endings and trailing white space. #2

Closed orbea closed 6 years ago

orbea commented 6 years ago

This is a simple clean up that should have no functional code changes. It gets rid of the DOS line endings and trailing white space.

My biggest reason to do this is that someone did this to the RetroArch repo and this made the diff output between this repo and libretro-common far less than useful. So I think there is no good reason to not apply this clean up here too. :)

This was done with these two commands.

find src/ -type f -exec sed -i 's/\r$//' {} \;
find src/ -type f -exec sed -i 's/[ \t]*$//' {} \;
rtissera commented 6 years ago

Great :) I tend to forget to clean line endings as I switch a lot between Win/Mac/Linux for dev.