Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!usc!apple!bbn.com!papaya.bbn.com!rsalz From: rsalz@bbn.com (Rich Salz) Newsgroups: comp.lang.c Subject: Re: One more point regarding = and == (more flamage) Message-ID: <3465@litchi.bbn.com> Date: 30 Mar 91 20:04:52 GMT References: <925@isgtec.UUCP> <1991Mar26.184245.3538@chinet.chi.il.us> <11563@dog.ee.lbl.gov> <3555@inews.intel.com> Organization: BBN Systems and Technology, Inc. Lines: 6 In <3555@inews.intel.com> bhoughto@hopi.intel.com (Blair P. Houghton) writes: >toupper.c: while ( (int) (c = getchar()) != EOF ) The cast implies that c is char. If so, this line is buggy. -- Please send comp.sources.unix-related mail to rsalz@uunet.uu.net. Use a domain-based address or give alternate paths, or you may lose out.