Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 59573 invoked from network); 11 Mar 2008 23:12:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Mar 2008 23:12:27 -0000 Received: (qmail 26474 invoked by uid 500); 11 Mar 2008 23:12:24 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 26451 invoked by uid 500); 11 Mar 2008 23:12:24 -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 26442 invoked by uid 99); 11 Mar 2008 23:12:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Mar 2008 16:12:24 -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; Tue, 11 Mar 2008 23:11:45 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 90EAE234C08C for ; Tue, 11 Mar 2008 16:10:47 -0700 (PDT) Message-ID: <1599368464.1205277047575.JavaMail.jira@brutus> Date: Tue, 11 Mar 2008 16:10:47 -0700 (PDT) From: "Martin Sebor (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Commented: (STDCXX-520) codecvt1.cpp example exits with exitcode=1 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-520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577646#action_12577646 ] Martin Sebor commented on STDCXX-520: ------------------------------------- So it looks to me like all we need to do to make the example behave in a useful way is to make sure the three locales exist (and that they are our own locales, not just the system ones) before invoking the program, and that the {{RWSTD_LOCALE_ROOT}} environment variable is set appropriately. We can also rename the example to something more descriptive, like {{jpcvt.cpp}}. > codecvt1.cpp example exits with exitcode=1 > ------------------------------------------ > > Key: STDCXX-520 > URL: https://issues.apache.org/jira/browse/STDCXX-520 > Project: C++ Standard Library > Issue Type: Improvement > Components: Examples > Affects Versions: 4.1.3 > Environment: All > Reporter: Farid Zaripov > Assignee: Martin Sebor > Priority: Minor > Fix For: 4.2.1 > > Original Estimate: 4h > Remaining Estimate: 4h > > codecvt1.cpp example exits with exitcode=1 because of no requested locales are installed. > The thread in mailing-list: http://www.mail-archive.com/stdcxx-dev@incubator.apache.org/msg03703.html > ---------------------- > codecvt1 should probably be disabled for now (until we figure > out how to get it to work) and it should also be renamed to > something more descriptive. Testing three hardwired encodings > doesn't seem like a good idea for a simple example, so maybe > we could split it up into codecvt-sjis.cpp, codecvt-eucjp, > and codecvt-utf8.cpp. > ---------------------- -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.