#482 Win32: use binary open mode by default everywhere

bugfix
open
5
2012-12-21
2012-12-18
No

This patch enables binary open mode on Win32 everywhere, thereby ignoring the special Win32 "text" translation mode. This makes the Win32 API more like the POSIX API, which is used by every other platform Pd supports.

But it seems to break somethings, like the loading of some soundfiles. Attached is an example patch for the failure.

Discussion

  • Just tried this in Wine and then (swear words deleted here) cranked up my XP SP2 machine and tried it
    there too - I can't see anything wrong yet. Is it breaking on a more recent version of Windows?

     
  • strange, I guess its conflicting with something in MinGW... that's the only way I ever compile on Windows.

     


Anonymous


Cancel   Add attachments