Adriaan van Os wrote:
- runtime library code, using POSIX calls rather than "native" Win32
calls, e.g. ReadLn using "read" rather than "ReadFile". If the POSIX emulation DLL isn't stable or 100 % compatible (I really don't know) I think there are two ways out (a) adapt the RTS to use Win32 calls (b) use Win32 calls instead of the RTS at the application level.
(c) improve the emulation library. That would fix the problem once and for all programs, instead of requiring special changes in every program (or runtime environment). To some degree (i.e., as far as necessary) we've already done this via os-hacks.h.
Frank