2007-12-19 Farid Zaripov <farid_zaripov@epam.com>
2007-12-19 Farid Zaripov <farid_zaripov@epam.com>

	Merged r605577 from branches/4.2.x with a fix for STDCXX-250
	* istream.cc (operator>>): Move counter __i out from the try/catch block
	and rename to __gcount for consistency with getline(). Increment __gcount
	after sbumpc() but before sgetc() to correctly reflect the number of 
	extracted characters. Set ios_base::failbit if no characters extracted.


git-svn-id: 1e8a4076bc3774682289f662a06025447996ff23@605583 13f79535-47bb-0310-9956-ffa450edef68

pathscale/stdcxx,pathscale/stdcxx,pathscale/stdcxx,pathscale/stdcxx,pathscale/stdcxx