Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 8048 invoked from network); 27 Jun 2007 18:34:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jun 2007 18:34:48 -0000 Received: (qmail 81501 invoked by uid 500); 27 Jun 2007 18:34:51 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 81442 invoked by uid 500); 27 Jun 2007 18:34:51 -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 81430 invoked by uid 99); 27 Jun 2007 18:34:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jun 2007 11:34:51 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of Farid_Zaripov@epam.com designates 217.21.63.3 as permitted sender) Received: from [217.21.63.3] (HELO EPMSA009.epam.com) (217.21.63.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jun 2007 11:34:46 -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: STDCXX tests fails and reasons [MSVC] Date: Wed, 27 Jun 2007 21:34:24 +0300 Message-ID: <7BDB2168BEAEF14C98F1901FD2DE64389D70B2@epmsa009.minsk.epam.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: STDCXX tests fails and reasons [MSVC] Thread-Index: Ace46ckcodjjvHOUQrKKd6NSZ5sWUg== From: "Farid Zaripov" To: X-Virus-Checked: Checked by ClamAV on apache.org The list of the fails and reasons (which I've checked at the moment) is here: http://people.apache.org/~faridz/test_status.html I have question on test 27.stringbuf.virtuals. There in basic_stringbuf<>::xsputn() the first parameter passed pointer to the internal basic_stringbuf<> buffer (basic_stringbuf<>::pbase()). And if size of the internal buffer is not enough to receive requested number of characters, reallocation occurred and then the previous buffer (deallocated at this moment) used as source characters. Is this valid operation (I mean to pass the internal basic_stringbuf<> buffer in basic_stringbuf<>::sputn())? Btw the Dinkumware STL has the similar problem. Another problem in that test is difference between char_traits::eof() =3D=3D int(-1) and char_traits::eof() =3D=3D int (65536). The basic_stringbuf<>::pbackfail() test (line 637) expected EOF =3D=3D -1 and issues rw_error() diagnostic on = whar_t tests. =20 Farid.