delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/06/11/07:31:33

X-Authentication-Warning: acp3bf.physik.rwth-aachen.de: broeker owned process doing -bs
Date: Mon, 11 Jun 2001 13:31:26 +0200 (MET DST)
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
X-Sender: broeker AT acp3bf
To: djgpp-workers AT delorie DOT com
Subject: Re: Compiler options for djdev build
In-Reply-To: <5567-Sat09Jun2001201505+0300-eliz@is.elta.co.il>
Message-ID: <Pine.LNX.4.10.10106111328050.966-100000@acp3bf>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sat, 9 Jun 2001, Eli Zaretskii wrote:

[Regarding a function taking a char value as argument, which he'd like
changed to 'int']:

> If you want an example of such function, look at `tolower'.

But in the case of tolower and friends (the <ctype.h> functions), the
rationale behind that decision was a rather different one: they are meant
to accept two different types of input: a character cast to (unsigned
char), or the value of the EOF macro, which is negative.

I.e. I don't think tolower() is a very good comparison, here.

-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019