Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bbn!uwmcsd1!ig!jade!violet.berkeley.edu!edmoy From: edmoy@violet.berkeley.edu Newsgroups: comp.sys.mac Subject: stdio bug in LSC Message-ID: <6179@jade.BERKELEY.EDU> Date: Fri, 4-Dec-87 17:09:59 EST Article-I.D.: jade.6179 Posted: Fri Dec 4 17:09:59 1987 Date-Received: Wed, 9-Dec-87 06:58:24 EST Sender: usenet@jade.BERKELEY.EDU Reply-To: edmoy@violet.berkeley.edu () Organization: University of California, Berkeley Lines: 32 Here one that really slipped through the crack. *** program 1 *** #includemain() { printf("Hello, Macintosh\n"); } *** program 2 *** #include main() { fputs("Hello, Macintosh\n", stdout); } ***************** The printf() works fine, popping up a console window and everything, but the fputs() doesn't do anything. Notice that adding a printf() before the fputs() will result in both printing correctly (sounds like fputs() isn't doing the right console window initialization). (I'm using LSC 2.13 and the new stdio library posted a while back). Edward Moy Academic Computing Services University of California Berkeley, CA 94720 edmoy@violet.Berkeley.EDU ucbvax!violet!edmoy