From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by melb.werple.net.au (8.7.5/8.7.3) with ESMTP id WAA21421 for ; Tue, 7 May 1996 22:03:57 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id HAA10034; Tue, 7 May 1996 07:20:34 -0400 (EDT) Resent-Date: Tue, 7 May 1996 07:20:34 -0400 (EDT) From: Zefram Message-Id: <28910.199605071119@stone.dcs.warwick.ac.uk> Subject: Re: fdtable To: pws@ifh.de (Peter Stephenson) Date: Tue, 7 May 1996 12:19:23 +0100 (BST) Cc: zsh-workers@math.gatech.edu In-Reply-To: <199605070817.KAA08463@hydra.ifh.de> from "Peter Stephenson" at May 7, 96 10:17:21 am X-Loop: zefram@dcs.warwick.ac.uk X-Stardate: [-31]7467.35 X-US-Congress: Moronic fuckers MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"l1n8N3.0.iS2.y7pZn"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/993 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu >In 2.6-beta17, fdtable[] is a char array, and there are tests like > > if (fdtable[i] < 0) > fdtable[i]--; > >for which gcc on IRIX is complaining about limited range of data type. >Shouldn't fdtable[] be `signed char'? (Yes.) Careful! The `signed' keyword does not exist in K&R C. We should either avoid its usage altogether, or do a feature test for it. I think all K&R compilers have char signed by default, so this should work. -zefram