Menu

#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

  • Miller Puckette

    Miller Puckette - 2012-12-18

    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?

     
  • Hans-Christoph Steiner

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

     
  • Hans-Christoph Steiner

    • labels: 680704 --> pd-extended
    • assigned_to: nobody --> eighthave
     
  • Hans-Christoph Steiner

    assigning this to Pd-extended, since its already included in vanilla

     

Anonymous
Anonymous

Add attachments
Cancel