Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1a 12/4/83; site rlgvax.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!rlgvax!guy From: guy@rlgvax.UUCP (Guy Harris) Newsgroups: net.unix-wizards Subject: Re: getc() != EOF Message-ID: <1970@rlgvax.UUCP> Date: Thu, 31-May-84 18:21:34 EDT Article-I.D.: rlgvax.1970 Posted: Thu May 31 18:21:34 1984 Date-Received: Sat, 2-Jun-84 11:14:45 EDT References: <30@utastro.UUCP> <307@basser.SUN> <7301@umcp-cs.UUCP> Organization: CCI Office Systems Group, Reston, VA Lines: 12 > (Now if you state that all {\it civlized} compilers default to signed > characters and allow {\tt unsigned char} datatypes, I will agree.) Well, on some machines supporting signed characters is painful; if the machine's byte manipulation instructions don't extend the sign bit, a program with "char" could involve more instructions than one involving "unsigned char". (Always using "unsigned char" isn't a fix, either; on some machines (like the PDP-11), "unsigned char" requires more code than "char".) (Our machines all have signed characters, by the way.) Guy Harris {seismo,ihnp4,allegra}!rlgvax!guy