diff src/oct-stream.cc @ 5266:3fe873712e07

[project @ 2005-04-05 15:49:50 by jwe]
author jwe
date Tue, 05 Apr 2005 15:49:50 +0000
parents 462fd886f33f
children 23b37da9fd5b
line wrap: on
line diff
--- a/src/oct-stream.cc
+++ b/src/oct-stream.cc
@@ -1460,6 +1460,9 @@
  \
   tbuf[n] = '\0'; \
  \
+  if (n > 0 && c == EOF) \
+    is.clear (); \
+ \
   std::string tmp = tbuf; \
  \
   delete [] tbuf