From: bheuman AT msfp31 DOT gwdg DOT de (Bernd Heumann) Subject: Opening files for append To: djgpp AT sun DOT soe DOT clarkson DOT edu Date: Thu, 10 Feb 94 18:59:22 NFT Hi, I'd already posted this mail a week ago, but got no response. I've just installed djgpp on my PC (standart 486DX 16MB Ram ...), and everything works fine so far, ie. I can compile and run all test's and also a number of programm I wrote for gcc under Linux. But I run into problems when using fstream in append mode: The following program runs well under Linux but crashes under DOS with 'General Protection Fault'. The following lines are the output when running the Program with the debugger: eax=00000020 ebx=00056004 ecx=0005697e edx=0000097a esi=4e9e097a edi=00000005 ebp=00051a64 RF UP IE PL NZ PO NC ds=00a7 es=00a7 fs=00a7 gs=00bf ss:esp=00b7:00051a3c cs=00af exception 13 (0xd) occurred, error code=0x80000000 00007b72: ffd6 call esi esi=4e9e097a This error happens in filebuf::open(char* ,ios::openmode ,int), but I can't figure out, whats wrong. Did anyone had encountered the same problem or any ideas what I am doing wrong ? Thanks in advance Bernd ------------------------- #include