About the code I posted earlier. I'm back home, and I checked out my compiler. It's a MinGW build of the GCC, driver version 2.95.2 release 19991024, executing gcc 2.95.2-20001116. Any comments would be helpful. The code crashes on large files, by the way, with the following:
MERG2 caused an invalid page fault in module KERNEL32.DLL at 0177:bff8abea. Registers: EAX=00000000 CS=0177 EIP=bff8abea EFLGS=00000246 EBX=8163d758 SS=017f ESP=0253fc50 EBP=0253fe38 ECX=0265000c DS=017f ESI=026606d0 FS=4c3f EDX=02650c90 ES=017f EDI=bff8abd1 GS=0000 Bytes at CS:EIP: a1 08 9d fc bf 50 e8 c3 95 fe ff ff 76 04 e8 35 Stack dump: 78037030 78005842 026606d0 00000000 78000000 780057e6 780018e3 78000000 8163d758 bff7ddcd 78000000 00000000 00000001 00000000 78000000 8163d758
I doubt that'll give a clue, but I ran Dr. Watson on my program, and it's originating in KERNEL32 (weird).
Well, whatever.
Previously: No Subject