13 lines
419 B
Plaintext
13 lines
419 B
Plaintext
$OpenBSD: patch-ddd_strclass_C,v 1.1 2002/10/13 21:45:46 naddy Exp $
|
|
--- ddd/strclass.C.orig Sun Oct 13 19:56:55 2002
|
|
+++ ddd/strclass.C Sun Oct 13 19:59:42 2002
|
|
@@ -1431,7 +1431,7 @@ istream& operator>>(istream& s, string&
|
|
}
|
|
x.rep->s[i] = 0;
|
|
x.rep->len = i;
|
|
- int new_state = s.rdstate();
|
|
+ ios::iostate new_state = s.rdstate();
|
|
if (i == 0)
|
|
new_state |= ios::failbit;
|
|
if (ch == EOF)
|