Date: Sun, 16 Mar 1997 16:16:15 +0300 (IDT) From: Eli Zaretskii To: Alf Stockton cc: djgpp AT delorie DOT com Subject: Re: DJGPP and stdprn In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sat, 15 Mar 1997, Alf Stockton wrote: > #ifdef TEST > int main(int argc, char *argv[]) > { > fprintf(stdprn, "987654321\n"); > bar("987654321"); > return(0); > } > #endif > > What have I done wrong ? DJGPP v2.0 had a bug in the definition of `stdprn' which can indeed cause your program to crash. Upgrade to DJGPP v2.01 where this problem is solved, and your program will most probably work.