zsh-workers
 help / color / mirror / code / Atom feed
From: Zefram <A.Main@dcs.warwick.ac.uk>
To: pws@ifh.de (Peter Stephenson)
Cc: zsh-workers@math.gatech.edu
Subject: Re: fdtable
Date: Tue, 7 May 1996 12:19:23 +0100 (BST)	[thread overview]
Message-ID: <28910.199605071119@stone.dcs.warwick.ac.uk> (raw)
In-Reply-To: <199605070817.KAA08463@hydra.ifh.de> from "Peter Stephenson" at May 7, 96 10:17:21 am

>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



  reply	other threads:[~1996-05-07 12:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-05-07  8:17 fdtable Peter Stephenson
1996-05-07 11:19 ` Zefram [this message]
1996-05-07 14:12   ` fdtable Peter Stephenson
1996-05-07 14:52 ` fdtable Peter Stephenson
1996-05-07 15:45   ` fdtable Zoltan Hidvegi
1996-05-08  7:54   ` Macros (Was: fdtable) Bas V. de Bakker
1996-05-08 15:05     ` Zefram

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=28910.199605071119@stone.dcs.warwick.ac.uk \
    --to=a.main@dcs.warwick.ac.uk \
    --cc=pws@ifh.de \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).