www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/12/18/08:47:41

Date: Thu, 18 Dec 1997 08:46:17 -0500 (EST)
Message-Id: <199712181346.IAA11652@delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: Vik DOT Heyndrickx AT rug DOT ac DOT be
CC: djgpp-workers AT delorie DOT com
In-reply-to: <34990BDD.885691C2@rug.ac.be> (message from Vik Heyndrickx on
Thu, 18 Dec 1997 12:41:17 +0100)
Subject: Re: char != unsigned char... sometimes, sigh

> But, since getc is only supposed to be used for text files,

Not true.

> which don't usually contain '\xff' characters,

Sorry, I've seen '\xff' in files that were primarily text files
before.  They make great record separators.  Besides, just because you
haven't seen it doesn't mean nobody will ever see it.  We have to deal
with possibilities here, not just "common use".

- Raw text -


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