2009-05-07  Farid Zaripov  <faridz@apache.org>

	Merged revs 771735, 771736, 771743 from 4.2.x branch.

	2009-05-05  Farid Zaripov  <faridz@apache.org>
	* tests/regress/21.string.find.stdcxx-1035.cpp: New regression
	test for STDCXX-1035.

	2009-05-05  Farid Zaripov  <faridz@apache.org>
	* tests/strings/21.string.find.cpp: Added new testcases
	to verify bug, described in STDCXX-1035 issue.

	2009-05-05  Farid Zaripov  <faridz@apache.org>
	STDCXX-1035
	* include/string.cc (find): Initialize __first only on the first
	occurrence of the first element of the sought sequence. Look for
	the first occurrence of the first element of the sought sequence,
	starting from the last compared character in controlling sequence.


git-svn-id: https://svn.apache.org/repos/asf/stdcxx/trunk@772572 13f79535-47bb-0310-9956-ffa450edef68
3 files changed