delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/12/26/12:34:33

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Date: Wed, 26 Dec 2001 19:32:26 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
Message-Id: <9628-Wed26Dec2001193226+0200-eliz@is.elta.co.il>
X-Mailer: emacs 21.1.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp-workers AT delorie DOT com
In-reply-to: <3C29CCF7.7F3723F3@phekda.freeserve.co.uk> (message from Richard
Dawe on Wed, 26 Dec 2001 13:13:27 +0000)
Subject: Re: regcomp NLS fix
References: <6F32F7D2 DOT 12300D8B DOT 09ACFA57 AT netscape DOT net> <3C29CCF7 DOT 7F3723F3 AT phekda DOT freeserve DOT co DOT uk>
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

> Date: Wed, 26 Dec 2001 13:13:27 +0000
> From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
> 
> * Why do you cast int characters to unsigned char, when passing them to
> the ctype functions?

Because otherwise they will be sign-extended to negative integers
when ctype functions use the character as an index into its tables.

- Raw text -


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