# # # patch "automate_ostream_demuxed.hh" # from [29fd0c1a2de69865bdd348145ae8bcef351b2ee0] # to [e3e8b950285ac4f040b81bc895eb37d63523dff8] # ============================================================ --- automate_ostream_demuxed.hh 29fd0c1a2de69865bdd348145ae8bcef351b2ee0 +++ automate_ostream_demuxed.hh e3e8b950285ac4f040b81bc895eb37d63523dff8 @@ -21,7 +21,7 @@ class basic_automate_streambuf_demuxed : typedef _Traits traits_type; typedef typename _Traits::int_type int_type; size_t _bufsize; - std::basic_ostream<_CharT, _Traits> *stdout; + std::basic_ostream<_CharT, _Traits> *mystdout; std::basic_ostream<_CharT, _Traits> *errout; int err_code; public: @@ -29,7 +29,7 @@ public: size_t bufsize) : std::streambuf(), _bufsize(bufsize), - stdout(&out), + mystdout(&out), errout(&err), err_code(0) { @@ -70,7 +70,7 @@ private: void _M_sync() { std::basic_ostream<_CharT, _Traits> *str; - str = ((err_code != 0) ? errout : stdout); + str = ((err_code != 0) ? errout : mystdout); if (!str) { setp(this->pbase(), this->pbase() + _bufsize);