[Babel-users] babel freebsd issues
Juliusz Chroboczek
jch at pps.jussieu.fr
Tue Jul 31 08:02:34 UTC 2012
> Here, the value of c is in fact -1, but optimisations hide it. The
> culprit is gnc_string which returns -1 in case of error, but every
> error checking in this file checks (c < -1) for some reason.
[...]
> - return -1;
> + return -2;
The convention in this file is that -1 signals EOF, while -2 signals an
error. So the return value is correct, it's the handling of EOF that's
broken.
I'll look at it later.
-- Juliusz
More information about the Babel-users
mailing list