From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 31948 invoked from network); 15 May 2020 21:32:10 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 15 May 2020 21:32:10 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 1673A9C991; Sat, 16 May 2020 07:32:09 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 3B7C39C677; Sat, 16 May 2020 07:31:56 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 6FA489C677; Sat, 16 May 2020 07:31:53 +1000 (AEST) Received: from loire.is.ed.ac.uk (loire.is.ed.ac.uk [129.215.16.10]) by minnie.tuhs.org (Postfix) with ESMTPS id 20FA29C668 for ; Sat, 16 May 2020 07:31:51 +1000 (AEST) Received: from crunchie.inf.ed.ac.uk (crunchie.inf.ed.ac.uk [129.215.202.41]) by loire.is.ed.ac.uk (8.14.7/8.14.7) with ESMTP id 04FLVcBk030737 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 May 2020 22:31:38 +0100 Received: from macaroni.inf.ed.ac.uk (macaroni.inf.ed.ac.uk [129.215.197.42]) by crunchie.inf.ed.ac.uk (8.14.7/8.14.7) with ESMTP id 04FLVcAK030613; Fri, 15 May 2020 22:31:38 +0100 Received: by macaroni.inf.ed.ac.uk (Postfix, from userid 26013) id 8E0F72D2D71E; Fri, 15 May 2020 22:31:38 +0100 (BST) From: Richard Tobin To: Steve Nickolas , ron@ronnatalie.com In-Reply-To: Steve Nickolas's message of Fri, 15 May 2020 16:56:42 -0400 (EDT) X-Mailer: Ream 5.1.51-richard-mac Message-Id: <20200515213138.8E0F72D2D71E@macaroni.inf.ed.ac.uk> Date: Fri, 15 May 2020 22:31:38 +0100 (BST) X-Edinburgh-Scanned: at loire.is.ed.ac.uk with MIMEDefang 2.84, Sophie, Sophos Anti-Virus, Clam AntiVirus Content-Type: text/plain MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 129.215.16.10 Subject: Re: [TUHS] v7 K&R C X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: tuhs@tuhs.org Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" > Isn't it nonstandard (although I am aware of some compilers that do it) to > default the type of char to unsigned? No. "The implementation shall define char to have the same range, representation, and behavior as either signed char or unsigned char." - C99 (Technically it's a separate type from both of them.) -- Richard -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.