Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 55028 invoked from network); 5 Dec 2007 05:36:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Dec 2007 05:36:06 -0000 Received: (qmail 7571 invoked by uid 500); 5 Dec 2007 05:35:54 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 7555 invoked by uid 500); 5 Dec 2007 05:35:54 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 7544 invoked by uid 99); 5 Dec 2007 05:35:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Dec 2007 21:35:54 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Dec 2007 05:36:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6A8F9714233 for ; Tue, 4 Dec 2007 21:35:43 -0800 (PST) Message-ID: <25334564.1196832943433.JavaMail.jira@brutus> Date: Tue, 4 Dec 2007 21:35:43 -0800 (PST) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Commented: (STDCXX-676) [MSVC] 22.locale.time.put test fails In-Reply-To: <2010457.1196803483462.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12548539 ] Martin Sebor commented on STDCXX-676: ------------------------------------- I had no idea that C supported only such a small subset of the POSIX directives, or that the MSVC strftime() was so lame as to support no more than the bare minimum. I should have known better, or at least looked at the MSVC documentation: http://msdn2.microsoft.com/en-us/library/fe06s4ak(VS.80).aspx I agree with avoiding using other parts of the library that's being tested. So the only thing that probably should change about the patch is the preprocessor guard from _WIN32 to _MSC_VER. Btw., while you're changing it, I noticed the first line of the multiline comments documenting each directive is missing a space between the comment token and the directive. You might as well add it while you're making changes. > [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.