delorie.com/archives/browse.cgi | search |
Date: | Sun, 16 Mar 1997 16:16:15 +0300 (IDT) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
To: | Alf Stockton <stockton AT fast DOT co DOT za> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: DJGPP and stdprn |
In-Reply-To: | <Pine.LNX.3.95.970315162537.114B-100000@localhost> |
Message-ID: | <Pine.SUN.3.91.970316161549.12150f-100000@is> |
MIME-Version: | 1.0 |
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.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |