You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Travis Vitek (JIRA)" <ji...@apache.org> on 2007/12/04 22:32:43 UTC

[jira] Updated: (STDCXX-676) [MSVC] 22.locale.time.put test fails

     [ https://issues.apache.org/jira/browse/STDCXX-676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Travis Vitek updated STDCXX-676:
--------------------------------

    Attachment: stdcxx-223.patch

This patch augments the implementation of rw_strftime() to support several of the format specifiers that strftime() doesn't support. If I couldn't find an easy way to replicate the expected behavior, I just return a failure. Some of these cases could be fixed with enough time.

2007-12-04  Travis Vitek  <vi...@roguewave.com>

	STDCXX-676
	* tests/locale/22.locale.time.put.cpp (rw_strftime): Avoid
	passing unsupported format specifiers to strftime().

> [MSVC] 22.locale.time.put test fails
> ------------------------------------
>
>                 Key: STDCXX-676
>                 URL: https://issues.apache.org/jira/browse/STDCXX-676
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 4.2.0
>            Reporter: Travis Vitek
>             Fix For: 4.2.1
>
>         Attachments: stdcxx-223.patch
>
>
> In my manual runs I have noticed that the test fails because the MSCRT strftime doesn't support %T, %e, or %G and asserts internally. This doesn't appear to happen on all configurations because these tests are running to completion on some of the nightly builds. 
> I think the rw_strftime() that is inside the test could be expanded to avoid the assert inside the CRT so that the test would pass on all windows configurations. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.