Broken Py3.1 release build in Visual Studio 2005
The CRT runtime structure that holds ioinfo doesn't appear to match the decleration from the headers provided with the Visual Studio 2005 crt sources. In Release, an extra 8 bytes follow the final BOOL. I cannot explain this, but the code works now, both in 32 bits and 64
char pipech2[2];
__int64 startpos;
BOOL utf8translations;
+#ifndef _DEBUG
+ /* padding hack. 8 byte extra length observed at
+ * runtime, for 32 and 64 bits when not in _DEBUG
+ */
+ __int32 _padding[2];
+#endif
#endif /* _SAFECRT_IMPL */
} ioinfo;
#endif