Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 98431 invoked from network); 10 Jan 2006 00:13:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Jan 2006 00:13:46 -0000 Received: (qmail 89940 invoked by uid 500); 10 Jan 2006 00:13:45 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 89749 invoked by uid 500); 10 Jan 2006 00:13:44 -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 89299 invoked by uid 99); 10 Jan 2006 00:13:42 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jan 2006 16:13:41 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 811661B6 for ; Tue, 10 Jan 2006 01:13:20 +0100 (CET) Message-ID: <924897145.1136852000521.JavaMail.jira@ajax.apache.org> Date: Tue, 10 Jan 2006 01:13:20 +0100 (CET) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Assigned: (STDCXX-104) [Mac OS X 10.2.8] Use of wcscoll and wcslen without checking guards In-Reply-To: <351881478.1136829444452.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/STDCXX-104?page=all ] Martin Sebor reassigned STDCXX-104: ----------------------------------- Assign To: Martin Sebor > [Mac OS X 10.2.8] Use of wcscoll and wcslen without checking guards > ------------------------------------------------------------------- > > Key: STDCXX-104 > URL: http://issues.apache.org/jira/browse/STDCXX-104 > Project: STDCXX > Type: Bug > Components: Build > Environment: Mac OS X 10.2.8/Darwin 6.8, GCC 3.1 > Reporter: Andrew Black > Assignee: Martin Sebor > > In src/collate.cpp, collate_byname::do_compare() uses wcscoll without checking if _RWSTD_NO_WCSCOLL and/or _RWSTD_NO_WCSCOLL_IN_LIBC are undefined (my reading of the macro names is that a version of wcscoll is availible if either is defined) > In src/wcodecvt.cpp, __rw_libc_do_out uses wcslen(). As I read things, there should be a macro pair _RWSTD_NO_WCSLEN and/or _RWSTD_NO_WCSLEN_IN_LIBC, but I don't think either macro is defined/undefined in the generated config.h (I didn't think to bring it in after the experiements over the weekend) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira