This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: patch -- more fstream.tcc funkiness
- To: libstdc++@sourceware.cygnus.com
- Subject: Re: patch -- more fstream.tcc funkiness
- From: Benjamin Kosnik <bkoz@cygnus.com>
- Date: Tue, 8 Jun 1999 18:54:12 -0700 (PDT)
> 1999-06-08 Phil Edwards <pedwards@ball.com>
>
> * bits/fstream.tcc (basic_filebuf::underflow): Fix, rename local vars.
This in, with (very small) mods.
> The patch simply changes the new __r to __R, and the testcase above
> works again. While the shadowing of names whould work, it looks to
> be more "cute" than what the compiler could handle, and difficult
> as hell to read in later scopes in the same function.
I changed the streamsize variable to be __sz, which seems to
increase readability as well. . .
Thanks,
Benjamin