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" Sender: halo1 AT zahav DOT net DOT il To: Richard Dawe 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 Precedence: bulk > Date: Wed, 26 Dec 2001 13:13:27 +0000 > From: Richard Dawe > > * 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.