Closed olofson closed 6 years ago
This happens right after the Olofson Arcade jingle, and when closing the game, under Wine:
Unhandled exception: 0xc0000417 in 32-bit code (0x7b83935c). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:7b83935c ESP:0071f9e4 EBP:0071fa68 EFLAGS:00200216( - -- I -A-P- ) EAX:7b82694d EBX:7b8ae000 ECX:7b8392c0 EDX:00000000 ESI:00000001 EDI:00000000 Stack dump: 0x0071f9e4: 00000025 0071fa18 7bc37347 7e8aab16 0x0071f9f4: 0071fa70 7e8d8d8d c0000417 00000001 0x0071fa04: 00000000 7b83935c 00000000 00000001 0x0071fa14: 7e8d8d8c 0071fa58 f75ea020 00000001 0x0071fa24: 7e8d8d8c 7e8aab80 7e8aab16 0071fa70 0x0071fa34: 00000000 00000000 0000000f 00000000 000c: sel=0067 base=00000000 limit=00000000 32-bit --x Backtrace: =>0 0x7b83935c in kernel32 (+0x2935c) (0x0071fa68) 1 0x7e85c9d9 MSVCRT__invalid_parameter+0x78() in msvcrt (0x0071fab8) 2 0x7e85bbd8 _putenv_s+0x107() in msvcrt (0x0071fb18) 3 0x00449636 in kobord (+0x49635) (0x0071fc18) 0x7b83935c: addl $12,%esp
This is in timegm() in pfile.cpp. Apparently, getenv("TZ") returns NULL.
_mkgmtime() is still missing in mingw, so I can't use that. Are we going to have to include a full implementation of timegm()...!?
This happens right after the Olofson Arcade jingle, and when closing the game, under Wine: