DragonFly BSD
DragonFly commits List (threaded) for 2005-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: ctype bug


From: Sascha Wildner <saw@xxxxxxxxx>
Date: Wed, 06 Jul 2005 21:02:02 +0200

Simon 'corecode' Schubert wrote:

I have to second Joerg. I thought like Matt before, but after reading C99/SUS,
it is clear that any program passing negative vlaues other than EOF is
broken. It explicitly states that parameters must fit into an unsigned
char or have the value of the macro EOF.

I didn't have an opinion before, but I'll second Joerg here as well, since SUS is pretty clear about the subject.


Sascha

--
http://yoyodyne.ath.cx



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]