X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f NNTP-Posting-Date: Fri, 24 Dec 2004 12:32:59 -0600 Date: Fri, 24 Dec 2004 13:33:07 -0500 From: Joe Wright User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: CTYPE stuff for Eli or DJ Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Lines: 12 NNTP-Posting-Host: 69.143.13.12 X-Trace: sv3-eb9Vb9ec7pstOaJpvmEvE6DmfyUzvaZuiEZJOniEOxhs4ZdD3gpwKGr7ijDj1ZqhXZJE+4WhHWgx5YQ!/8YuOqh145FH3NjDE1aZHpn46Vf1JqishpW5EIkvjmTxyFUcJKswTi7WjreP X-Complaints-To: abuse AT comcast DOT net X-DMCA-Complaints-To: dmca AT comcast DOT net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.22 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 'Splain me Batman. In ctypes.ha we have the macro.. #define isspace(c) (__dj_ctype_flags[(int)(c)+1] & __dj_ISSPACE) __dj_ctype_flags is an array 257 of unsigned short. What assumptions are you making about '(int)(c)+1' that might ensure the required index range of 0..256 ? -- Joe Wright mailto:joewwright AT comcast DOT net "Everything should be made as simple as possible, but not simpler." --- Albert Einstein ---