Commit a58248fa by H.J. Lu Committed by Jeff Law

streambuf.cc (streambuf::~streambuf): Don't delete _lock for _IO_stdin/_IO_stdout/_IO_stderr.

        * streambuf.cc (streambuf::~streambuf): Don't delete _lock
        for _IO_stdin/_IO_stdout/_IO_stderr.

From-SVN: r16972
parent 7211716d
Fri Dec 5 16:22:15 1997 H.J. Lu (hjl@gnu.org)
* streambuf.cc (streambuf::~streambuf): Don't delete _lock
for _IO_stdin/_IO_stdout/_IO_stderr.
Thu Nov 27 01:32:43 1997 Jeffrey A Law (law@cygnus.com)
* Makefile.in (insatll): Change gxx_includedir to gcc_include_dir.
* Makefile.in (install): Change gxx_includedir to gcc_include_dir.
* config.shared (gxx_includedir): Remove default definition.
* config/linux.mt: Change gxx_includedir to gxx_include_dir.
* config/linuxaxp1.mt: Likewise.
......
......@@ -220,7 +220,8 @@ streambuf::~streambuf()
{
_IO_default_finish(this,0);
#ifdef _IO_MTSAFE_IO
delete _lock;
if (this != _IO_stdin && this != _IO_stdout && this != _IO_stderr)
delete _lock;
#endif
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment