From 86e37bec7b2101555635201f83352c0e054f1849 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 22 Jan 2014 16:28:46 +0000 Subject: Updated the cache system. It now ensures that objects are initialized with cache information before they are deserialized from storage. This changed the signature of the cache loading template function, but the new function isn't harder to use, and provides the key information as well. --- src/stable/stdstream.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/stable/stdstream.cpp') diff --git a/src/stable/stdstream.cpp b/src/stable/stdstream.cpp index a622559..5bcc643 100644 --- a/src/stable/stdstream.cpp +++ b/src/stable/stdstream.cpp @@ -50,12 +50,12 @@ void Bu::StdStream::setPosEnd( Bu::size ) bool Bu::StdStream::isEos() { - return false; + return feof( stdin ) != 0; } bool Bu::StdStream::isOpen() { - return true; + return feof( stdin ) != 0; } void Bu::StdStream::flush() -- cgit v1.2.3