This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch/RFC] Fix libstdc++/9533
On Tue, Mar 18, 2003 at 02:19:59PM +0100, Paolo Carlini wrote:
> Interesting. However what we really need inside showmanyc is an estimate
> of the _number_ of externally available chars.
Shouldn't that be 'the number of _contiguous_ characters'
(at the beginning of the get area of the output buffer)?
Imho, that is always egptr() - gptr(),?possibly after
first adjusting the get area pointers. The word 'contiguous'
implies refering to a buffer, therefore I thought it might
be relevant.
--
Carlo Wood <carlo at alinoe dot com>