Martin Sebor
Mon, 02 Jul 2007 10:21:06 -0700
Farid Zaripov wrote:
-----Original Message----- From: Martin Sebor [EMAIL PROTECTED] On Behalf Of Martin Sebor Sent: Friday, June 29, 2007 8:34 AM To: stdcxx-dev@incubator.apache.org Subject: Re: STDCXX tests fails and reasons [MSVC] Farid Zaripov wrote:The list of the fails and reasons (which I've checked atthe moment)I vaguely recall discussing the problem but I don't see an issue in Jira for the "bug in rw_match(&char, &char, 1)."is here: http://people.apache.org/~faridz/test_status.htmlIs this it? http://www.mail-archive.com/stdcxx-dev@incubator.apache.org/ms g01569.htmlNo. the last message is here: http://www.mail-archive.com/stdcxx-dev@incubator.apache.org/msg01893.htm l
I see. But is that really a bug in rw_match()? It looks to me more like a design limitation than a bug. In the case of the wchar_t* and UserChar* overloads of rw_match() there should be a simple solution: make sure the first (char*) argument has enough elements (it should be easy to guarantee that since the argument is the hardcoded string we match against). And changing the char* overload to behave the same as the other two, i.e., to only do the expansion on the first argument and not on the second should fix that case, no? Martin