summaryrefslogtreecommitdiff
path: root/gnu/egcs/libio/isgetsb.cc
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-08-23 20:32:32 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-08-23 20:32:32 +0000
commitef233545e6c3dcf885a8b3178a859a23604b359c (patch)
tree8f4f503c82a377012f9429ed7e24abfbd6aabb98 /gnu/egcs/libio/isgetsb.cc
parent20915043a05410a0247b150f77f71c94c43ce2ae (diff)
Update to gcc 2.95.1, official release.
Diffstat (limited to 'gnu/egcs/libio/isgetsb.cc')
-rw-r--r--gnu/egcs/libio/isgetsb.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/egcs/libio/isgetsb.cc b/gnu/egcs/libio/isgetsb.cc
index 55617e649a0..655c972589a 100644
--- a/gnu/egcs/libio/isgetsb.cc
+++ b/gnu/egcs/libio/isgetsb.cc
@@ -31,6 +31,8 @@ istream& istream::get(streambuf& sb, char delim /* = '\n' */)
_gcount = 0;
if (ipfx1())
{
+ _IO_cleanup_region_start ((void (*) __P ((void *))) _IO_funlockfile,
+ _strbuf);
register streambuf* isb = rdbuf();
for (;;)
{
@@ -54,6 +56,8 @@ istream& istream::get(streambuf& sb, char delim /* = '\n' */)
if (delimp != NULL)
break;
}
+ isfx();
+ _IO_cleanup_region_end (0);
}
return *this;
}