Hi list.

I'm trying to port libgpod to windows. It seems libgpod read/write the files with fopen(name, "w").
So windows write "\r\n" with fputs.

Below is a patch.
Please check and include.

https://gist.github.com/mattn/100bb84e2c5b5f54649d

-- 
- Yasuhiro Matsumoto