Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 32272 invoked from network); 15 Mar 2008 11:40:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Mar 2008 11:40:18 -0000 Received: (qmail 38261 invoked by uid 500); 15 Mar 2008 11:40:16 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 38238 invoked by uid 500); 15 Mar 2008 11:40:16 -0000 Mailing-List: contact issues-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list issues@stdcxx.apache.org Received: (qmail 38229 invoked by uid 99); 15 Mar 2008 11:40:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Mar 2008 04:40:16 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Mar 2008 11:39:24 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F1B23234C099 for ; Sat, 15 Mar 2008 04:38:26 -0700 (PDT) Message-ID: <1695096393.1205581106988.JavaMail.jira@brutus> Date: Sat, 15 Mar 2008 04:38:26 -0700 (PDT) From: "Farid Zaripov (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Resolved: (STDCXX-763) [lwg 231] Inconsistency between LWG issue 231 and src/punct.cpp. In-Reply-To: <562975153.1205525064295.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-763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Farid Zaripov resolved STDCXX-763. ---------------------------------- Resolution: Fixed Fixed thus: http://svn.apache.org/viewvc?rev=637393&view=rev 22.locale.num.put.cpp test corrected thus: http://svn.apache.org/viewvc?rev=637392&view=rev > [lwg 231] Inconsistency between LWG issue 231 and src/punct.cpp. > ---------------------------------------------------------------- > > Key: STDCXX-763 > URL: https://issues.apache.org/jira/browse/STDCXX-763 > Project: C++ Standard Library > Issue Type: Bug > Components: 22. Localization > Affects Versions: 4.1.2, 4.1.3, 4.1.4, 4.2.0 > Environment: All > Reporter: Farid Zaripov > Assignee: Farid Zaripov > Fix For: 4.2.1 > > Original Estimate: 1h > Remaining Estimate: 1h > > For additional information see this thread: > http://www.mail-archive.com/dev@stdcxx.apache.org/msg00213.html > The proposed patch below: > {noformat} > Index: src/punct.cpp > =================================================================== > --- src/punct.cpp (revision 631177) > +++ src/punct.cpp (working copy) > @@ -619,9 +619,7 @@ > const int fltfld = fmtflags & _RWSTD_IOS_FLOATFIELD; > > // follows resolution of lwg issue 231 > - if ( ( _RWSTD_IOS_FIXED == fltfld > - || _RWSTD_IOS_SCIENTIFIC == fltfld) > - && prec >= 0 || prec > 0) { > + if (0 <= prec) { > > // 7.19.6.1, p5 of C99 specifies that, when given using the > // asterisk, negative precision is treated the same as if > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.