Newsgroups: comp.lang.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: Matching Data Types Message-ID: <1990May2.171115.7240@utzoo.uucp> Organization: U of Toronto Zoology References: <1990Apr27.000956.13201@mccc.uucp> <1990Apr30.164553.1693@utzoo.uucp> <1639@tkou02.enet.dec.com> Date: Wed, 2 May 90 17:11:15 GMT In article <1639@tkou02.enet.dec.com> diamond@tkou02.enet.dec.com (diamond@tkovoa) writes: >>(Hint: EOF has to be something that is not a valid char value.) > >False. In an implementation where sizeof(int)==1 (perfectly legal, as >long as it's at least 16 bits), EOF might also be a valid char value. I still think X3J11 should have held a competition like the POSIX one for undesirable interpretations of the standard. This would come under the "most demented" heading to my mind. :-) -- If OSI is the answer, what is | Henry Spencer at U of Toronto Zoology the question?? -Rolf Nordhagen| uunet!attcan!utzoo!henry henry@zoo.toronto.edu