From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13032 invoked by alias); 9 Feb 2003 13:06:00 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 13012 invoked by uid 71); 9 Feb 2003 13:06:00 -0000 Resent-Date: 9 Feb 2003 13:06:00 -0000 Resent-Message-ID: <20030209130600.13011.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, peturr02@ru.is Received: (qmail 12973 invoked by uid 48); 9 Feb 2003 13:05:41 -0000 Message-Id: <20030209130541.12972.qmail@sources.redhat.com> Date: Sun, 09 Feb 2003 13:06:00 -0000 From: peturr02@ru.is Reply-To: peturr02@ru.is To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: libstdc++/9635: time_get<>::date_order broken X-SW-Source: 2003-02/txt/msg00431.txt.bz2 List-Id: >Number: 9635 >Category: libstdc++ >Synopsis: time_get<>::date_order broken >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Sun Feb 09 13:06:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: peturr02@ru.is >Release: gcc-3.2.1 >Organization: >Environment: Red Hat Linux 8.0 >Description: It seems that time_get<>::date_order always returns time_base::no_order in all locales. It seems possible to retrieve this from nl_langinfo, so a useful value should be returned. >How-To-Repeat: See attachment. >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: text/plain; name="dateorderbug.cc" Content-Disposition: inline; filename="dateorderbug.cc" #include #undef NDEBUG #include int main() { using namespace std; typedef time_get ctg; locale loc ("is_IS"); const ctg& tg = use_facet(loc); assert(tg.date_order() == time_base::dmy); return 0; }