From: Florian Weimer <someone@deneb.cygnus.argh.org>
Subject: Re: Announce: OpenToken 2.0 released
Date: 2000/02/04
Date: 2000-02-04T21:17:57+00:00 [thread overview]
Message-ID: <87d7qck6pm.fsf@deneb.cygnus.argh.org> (raw)
In-Reply-To: t790146b69.fsf@calumny.jyacc.com
Hyman Rosen <hymie@prolifics.com> writes:
> By the way, the normal C/C++ style for handling EOF is to have the
> return type of the character reader be such that it can hold any
> value of the character set, plus an out-of-band value representing
> EOF. The usual is '#define EOF -1' and 'int getchar()'.
Unfortunately, this becomes inband signalling on some platforms (where
sizeof(char) == sizeof(int)). Broken as designed.
next prev parent reply other threads:[~2000-02-04 0:00 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-27 0:00 Announce: OpenToken 2.0 released Ted Dennison
2000-01-28 0:00 ` Jürgen Pfeifer
2000-01-28 0:00 ` Ted Dennison
2000-01-31 0:00 ` Hyman Rosen
2000-02-01 0:00 ` Ted Dennison
2000-02-01 0:00 ` Hyman Rosen
2000-02-01 0:00 ` David Starner
2000-02-01 0:00 ` Brian Rogoff
2000-02-01 0:00 ` Hyman Rosen
2000-02-01 0:00 ` Brian Rogoff
2000-02-02 0:00 ` Hyman Rosen
2000-02-02 0:00 ` Vladimir Olensky
2000-02-01 0:00 ` Hyman Rosen
2000-02-02 0:00 ` Jeff Carter
2000-02-02 0:00 ` Ted Dennison
2000-02-04 0:00 ` Ted Dennison
2000-02-05 0:00 ` Ehud Lamm
2000-02-04 0:00 ` Florian Weimer [this message]
2000-02-07 0:00 ` Hyman Rosen
2000-02-07 0:00 ` Florian Weimer
2000-02-07 0:00 ` Hyman Rosen
2000-02-09 0:00 ` Robert A Duff
2000-02-09 0:00 ` Hyman Rosen
2000-02-09 0:00 ` Larry Kilgallen
2000-02-17 0:00 ` Robert A Duff
2000-02-17 0:00 ` Hyman Rosen
2000-02-17 0:00 ` Robert A Duff
2000-02-17 0:00 ` Hyman Rosen
2000-02-17 0:00 ` Robert A Duff
2000-02-17 0:00 ` Hyman Rosen
[not found] ` <88iuk2$s6d3@ftp.kvaerner.com>
2000-03-05 0:00 ` [OT] C and in-band signalling (was: Re: Announce: OpenToken 2.0 released) Florian Weimer
2000-03-06 0:00 ` Tarjei T. Jensen
2000-03-06 0:00 ` Keith Thompson
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox