From commits-return-2989-apmail-stdcxx-commits-archive=stdcxx.apache.org@stdcxx.apache.org Tue May 27 11:39:08 2008 Return-Path: Delivered-To: apmail-stdcxx-commits-archive@www.apache.org Received: (qmail 31584 invoked from network); 27 May 2008 11:39:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 May 2008 11:39:08 -0000 Received: (qmail 9568 invoked by uid 500); 27 May 2008 11:39:10 -0000 Delivered-To: apmail-stdcxx-commits-archive@stdcxx.apache.org Received: (qmail 9539 invoked by uid 500); 27 May 2008 11:39:10 -0000 Mailing-List: contact commits-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 commits@stdcxx.apache.org Received: (qmail 9530 invoked by uid 99); 27 May 2008 11:39:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 May 2008 04:39:10 -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.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 May 2008 11:38:31 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B92412388A0B; Tue, 27 May 2008 04:38:47 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r660473 - in /stdcxx/branches/4.2.x/tests: localization/22.locale.ctype.widen.cpp regress/21.string.insert.stdcxx-632.cpp Date: Tue, 27 May 2008 11:38:47 -0000 To: commits@stdcxx.apache.org From: faridz@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080527113847.B92412388A0B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: faridz Date: Tue May 27 04:38:46 2008 New Revision: 660473 URL: http://svn.apache.org/viewvc?rev=660473&view=rev Log: 2008-05-27 Farid Zaripov * tests/localization/22.locale.ctype.widen.cpp: Setting svn:eol-style and svn:keywords properties. * tests/regress/21.string.insert.stdcxx-632.cpp: Ditto. Modified: stdcxx/branches/4.2.x/tests/localization/22.locale.ctype.widen.cpp (props changed) stdcxx/branches/4.2.x/tests/regress/21.string.insert.stdcxx-632.cpp (contents, props changed) Propchange: stdcxx/branches/4.2.x/tests/localization/22.locale.ctype.widen.cpp ------------------------------------------------------------------------------ svn:eol-style = native Propchange: stdcxx/branches/4.2.x/tests/localization/22.locale.ctype.widen.cpp ------------------------------------------------------------------------------ svn:keywords = Id Modified: stdcxx/branches/4.2.x/tests/regress/21.string.insert.stdcxx-632.cpp URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/tests/regress/21.string.insert.stdcxx-632.cpp?rev=660473&r1=660472&r2=660473&view=diff ============================================================================== --- stdcxx/branches/4.2.x/tests/regress/21.string.insert.stdcxx-632.cpp (original) +++ stdcxx/branches/4.2.x/tests/regress/21.string.insert.stdcxx-632.cpp Tue May 27 04:38:46 2008 @@ -1,48 +1,48 @@ -/************************************************************************ -* -* 21.string.insert.stdcxx-632.cpp - regression test for STDCXX-632 -* -* https://issues.apache.org/jira/browse/STDCXX-632 -* -* $Id: 21.string.insert.stdcxx-632.cpp 629551 2008-02-20 18:13:08Z faridz $ -* -*************************************************************************** -* -* Licensed to the Apache Software Foundation (ASF) under one or more -* contributor license agreements. See the NOTICE file distributed -* with this work for additional information regarding copyright -* ownership. The ASF licenses this file to you under the Apache -* License, Version 2.0 (the "License"); you may not use this file -* except in compliance with the License. You may obtain a copy of -* the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -* implied. See the License for the specific language governing -* permissions and limitations under the License. -* -**************************************************************************/ - -#include -#include - -int main () -{ - std::string s ("abc"); - - s.insert (s.begin (), s.rbegin () + 1, s.rbegin () + 2); - - assert ("babc" == s); - - s = "abc"; - - typedef const unsigned char UChar; - s.insert (s.begin (), (UChar*)&s [1], (UChar*)&s [2]); - - assert ("babc" == s); - - return 0; -} +/************************************************************************ +* +* 21.string.insert.stdcxx-632.cpp - regression test for STDCXX-632 +* +* https://issues.apache.org/jira/browse/STDCXX-632 +* +* $Id$ +* +*************************************************************************** +* +* Licensed to the Apache Software Foundation (ASF) under one or more +* contributor license agreements. See the NOTICE file distributed +* with this work for additional information regarding copyright +* ownership. The ASF licenses this file to you under the Apache +* License, Version 2.0 (the "License"); you may not use this file +* except in compliance with the License. You may obtain a copy of +* the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +* implied. See the License for the specific language governing +* permissions and limitations under the License. +* +**************************************************************************/ + +#include +#include + +int main () +{ + std::string s ("abc"); + + s.insert (s.begin (), s.rbegin () + 1, s.rbegin () + 2); + + assert ("babc" == s); + + s = "abc"; + + typedef const unsigned char UChar; + s.insert (s.begin (), (UChar*)&s [1], (UChar*)&s [2]); + + assert ("babc" == s); + + return 0; +} Propchange: stdcxx/branches/4.2.x/tests/regress/21.string.insert.stdcxx-632.cpp ------------------------------------------------------------------------------ svn:eol-style = native Propchange: stdcxx/branches/4.2.x/tests/regress/21.string.insert.stdcxx-632.cpp ------------------------------------------------------------------------------ svn:keywords = Id