Browse Source

build on irix

David Rose 22 years ago
parent
commit
87636fa232
1 changed files with 2 additions and 2 deletions
  1. 2 2
      panda/src/express/hashVal.cxx

+ 2 - 2
panda/src/express/hashVal.cxx

@@ -61,12 +61,12 @@ input_hex(istream &in) {
   }
 
   if (i != 32) {
-    in.setstate(ios::failbit);
+    in.clear(ios::failbit|in.rdstate());
     return;
   }
 
   if (!in.eof()) {
-    in.unget();
+    in.putback(ch);
   } else {
     in.clear();
   }