This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: patch -- more fstream.tcc funkiness



> 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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]