You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Issue migrated from SourceForge | ID: 3470125 | Submitted by 'jamshark70']
[http://sourceforge.net/support/tracker.php?aid=3470125]
In UNIX-based systems, getInt8 and getInt16 methods of File (implemented in UnixFILE) return signed integers. In Windows, the same methods return unsigned. This breaks code libraries (for example, SimpleMIDIFile in wslib) that expect signed integers.
The primitive should be fixed so that the behavior in Windows is consistent with Linux/osx.
p = PathName.tmp +/+ "onechar.txt";
f = File(p, "w");
f.putInt8(255);
f.close;
f = File(p, "r");
f.getInt8.postln; // should print -1 on all platforms
f.close;
The text was updated successfully, but these errors were encountered:
[Issue migrated from SourceForge | ID: 3470125 | Submitted by 'jamshark70']
[http://sourceforge.net/support/tracker.php?aid=3470125]
In UNIX-based systems, getInt8 and getInt16 methods of File (implemented in UnixFILE) return signed integers. In Windows, the same methods return unsigned. This breaks code libraries (for example, SimpleMIDIFile in wslib) that expect signed integers.
The primitive should be fixed so that the behavior in Windows is consistent with Linux/osx.
p = PathName.tmp +/+ "onechar.txt";
f = File(p, "w");
f.putInt8(255);
f.close;
f = File(p, "r");
f.getInt8.postln; // should print -1 on all platforms
f.close;
The text was updated successfully, but these errors were encountered: