Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!henry From: henry@utzoo.UUCP (Henry Spencer) Newsgroups: net.lang.c Subject: Re: iscntrl() (more history) Message-ID: <4962@utzoo.UUCP> Date: Sat, 19-Jan-85 19:41:53 EST Article-I.D.: utzoo.4962 Posted: Sat Jan 19 19:41:53 1985 Date-Received: Sat, 19-Jan-85 19:41:53 EST References: <1161@ut-ngp.UUCP> <6932@brl-tgr.ARPA> <6274@boring.UUCP>, <1029@opus.UUCP> Organization: U of Toronto Zoology Lines: 16 > > >I wonder how ANYone could have decided that e.g. LF is NOT a control > > >character? (I'm sure the 4.2BSD fans will think that makes sense!) > > > > This was already in the original v7 ctype.h... > > NO, the mistake was not in the original v7 ctype.h (or, more precisely, > ctype_.c). I was made painfully aware of the fact by a program which > broke when I moved from V7 to 4.1. Strange... Our V7 definitely thinks iscntrl('\n') == 0. And ours is pretty much straight off the Bell distribution tape; I did our V6-V7 conversion and can attest to this. We've certainly never messed with ctype_.c -- I just checked. What was the history of your V7? -- Henry Spencer @ U of Toronto Zoology {allegra,ihnp4,linus,decvax}!utzoo!henry