Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site umcp-cs.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.lang.c Subject: Re: What is wrong with this program? Message-ID: <1169@umcp-cs.UUCP> Date: Fri, 9-Aug-85 08:14:06 EDT Article-I.D.: umcp-cs.1169 Posted: Fri Aug 9 08:14:06 1985 Date-Received: Mon, 12-Aug-85 02:42:13 EDT References: <117@graffiti.UUCP> Distribution: net Organization: U of Maryland, Computer Science Dept., College Park, MD Lines: 12 One question: to what does "data" point? You haven't ever *set* it to anything.... (Probably, "data" happens to point to a region on the stack, or in the data segment, that is clobbered by the call to printf(), but not by the macro invoked by putchar().) Lint would have caught that error, by the way. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 4251) UUCP: seismo!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@maryland