delorie.com/archives/browse.cgi | search |
Date: | Thu, 18 Dec 1997 13:48:26 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
To: | Vik Heyndrickx <Vik DOT Heyndrickx AT rug DOT ac DOT be> |
cc: | djgpp-workers AT delorie DOT com |
Subject: | Re: char != unsigned char... sometimes, sigh |
In-Reply-To: | <34990BDD.885691C2@rug.ac.be> |
Message-ID: | <Pine.SUN.3.91.971218134555.1611U-100000@is> |
MIME-Version: | 1.0 |
On Thu, 18 Dec 1997, Vik Heyndrickx wrote: > But, since getc is only supposed to be used for text files, which don't > usually contain '\xff' characters, I don't think this is really a > problem. I disagree. `getc' can be (and is) used to read binary files as well; I've seen enough programs which do that. We cannot IMHO live with `getc' that doesn't know how to read 0xff.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |