Closed BSzili closed 5 years ago
wt ist not valid: http://www.cplusplus.com/reference/cstdio/fopen/
Hmm. Maybe it's some POSIX or glibc extension, because it's used in EDuke32, and the test program passes with the Cygwin C library and Linux glibc fine.
I retested it, and the issue is now gone with 44b3bfe762e3192582d4d42b810f490e8c4c22e8.
I noticed a couple oddities with fopen() compared to other implementations.
I created a small test program to reproduce these issues.