K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-06-20T00:34:06.713478Z K 7 svn:log V 219 Unbreak platforms with char unsigned by default. Oddly enough, GCC isn't satisfied with a simple cast to int in the check against EOF, so the fix is a bit involved by actually having to go through a temporary variable. END