[PATCH] streambuf_iterator: avoid debug-dependent behaviour

Petr Ovtchenkov ptr@void-ptr.info
Fri Sep 8 05:47:00 GMT 2017


-gcc-patches 

On Thu, 7 Sep 2017 23:02:15 +0200
François Dumont <frs.dumont@gmail.com> wrote:

> +	_M_c = _M_sbuf->sgetc();
> +	if (_S_at_eof(_M_c))
> +	  _M_sbuf = 0;

_M_sbuf = 0; <--- Is not what I axpect here.

Suggestions will be later, after we finish copyright assignment for
changes procedure (in progress).

WBR,

--

   - ptr



More information about the Gcc-patches mailing list