From 87636fa232e2533dfd8e3596b1c787684209e86c Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 29 Sep 2003 23:56:42 +0000 Subject: [PATCH] build on irix --- panda/src/express/hashVal.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panda/src/express/hashVal.cxx b/panda/src/express/hashVal.cxx index e7f9e910cb..2ee4ee6bd9 100644 --- a/panda/src/express/hashVal.cxx +++ b/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(); }