1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 00:11:17 +02:00

* The eof() state isn't guaranteed to be set non-lazily. GCC 2.95

compatibility fix.
This commit is contained in:
Eelco Dolstra 2005-05-04 16:29:44 +00:00
parent d8a31da1ea
commit ae6d9033a1

View file

@ -688,5 +688,5 @@ bool string2Int(const string & s, int & n)
{
istringstream str(s);
str >> n;
return str && str.eof();
return str && str.get() == EOF;
}