Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 8125 invoked from network); 6 Oct 2006 12:46:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Oct 2006 12:46:27 -0000 Received: (qmail 9470 invoked by uid 500); 6 Oct 2006 12:46:27 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 9412 invoked by uid 500); 6 Oct 2006 12:46:27 -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 9401 invoked by uid 99); 6 Oct 2006 12:46:27 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Oct 2006 05:46:27 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=UPPERCASE_25_50 Received: from [212.82.213.172] ([212.82.213.172:10691] helo=exkiv.kyiv.vdiweb.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id F5/29-18133-E1056254 for ; Fri, 06 Oct 2006 05:46:24 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: [PATCH] bitset.cc (STDCXX-297) Date: Fri, 6 Oct 2006 15:46:13 +0300 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH] bitset.cc (STDCXX-297) Thread-Index: AcbpRWhYDkRct3c7R8KJ33TQxHOPnw== From: "Farid Zaripov" To: X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Below is a small patch to resolve issue STDCXX-297: Index: bitset.cc =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- bitset.cc (revision 453570) +++ bitset.cc (working copy) @@ -52,7 +52,7 @@ =20 // compute the number of bytes occupied by `bits' const _RWSTD_SIZE_T __nbytes =3D - (__maxbits + sizeof *__bits * _RWSTD_CHAR_BIT - 1) / _RWSTD_CHAR_BIT; + (__maxbits + _RWSTD_CHAR_BIT - 1) / _RWSTD_CHAR_BIT; =20 _RWSTD_MEMSET (__bits, 0, __nbytes); =20 Farid.