Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 10098 invoked from network); 29 Jun 2007 05:17:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Jun 2007 05:17:06 -0000 Received: (qmail 20888 invoked by uid 500); 29 Jun 2007 05:17:08 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 20867 invoked by uid 500); 29 Jun 2007 05:17:08 -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 20854 invoked by uid 99); 29 Jun 2007 05:17:08 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jun 2007 22:17:08 -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 msebor@gmail.com designates 64.233.162.231 as permitted sender) Received: from [64.233.162.231] (HELO nz-out-0506.google.com) (64.233.162.231) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jun 2007 22:17:04 -0700 Received: by nz-out-0506.google.com with SMTP id o37so503205nzf for ; Thu, 28 Jun 2007 22:16:44 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:organization:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=NkexsOKL5tGXfe+Urb26az9D4x/aCL/LPO+QOY9B6qQUiP77XacrL9kuJbh5mKTx6W1psLQLFO/aeAa+YWasuVHJS6Y5aK834QdDuuvj/7ikoKXOJERPhw+AxaW0UoiGFkkwiYL/8yLseH0RlI2x2TLLvkZsAA8YznfBFwWC20M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:organization:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=Vv5Ee5kAImFi2z6HBVtd5hXxLQTwc4xefuRo3TQCk4Tm1IjeDGOdvnT4WX5w73Uf8Bex8euLiJqPmvd0whv/JcaAKk/RgLK53Prr/ZZ9Y0NvdInHfpRC/Sv3yiVkZY0DjNSlme4M/mX6+OeKo/jzqQxjX7KbOlMh7ReZ0zsSiIM= Received: by 10.141.52.5 with SMTP id e5mr605434rvk.1183094203476; Thu, 28 Jun 2007 22:16:43 -0700 (PDT) Received: from ?192.168.1.104? ( [71.229.200.170]) by mx.google.com with ESMTP id l31sm13480384rvb.2007.06.28.22.16.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 28 Jun 2007 22:16:42 -0700 (PDT) Message-ID: <468495B7.2040900@roguewave.com> Date: Thu, 28 Jun 2007 23:16:39 -0600 From: Martin Sebor Organization: Rogue Wave Software User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.12) Gecko/20070531 Fedora/1.0.9-1.fc6 pango-text SeaMonkey/1.0.9 MIME-Version: 1.0 To: stdcxx-dev@incubator.apache.org Subject: Re: STDCXX tests fails and reasons [MSVC] References: <7BDB2168BEAEF14C98F1901FD2DE64389D70B2@epmsa009.minsk.epam.com> In-Reply-To: <7BDB2168BEAEF14C98F1901FD2DE64389D70B2@epmsa009.minsk.epam.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: Martin Sebor X-Virus-Checked: Checked by ClamAV on apache.org Farid Zaripov wrote: > The list of the fails and reasons (which I've checked at the moment) > is here: > http://people.apache.org/~faridz/test_status.html > Thanks, this is very helpful! > 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. There's no requirement that makes it invalid but it's not something we'll see every day :) Let me look into it a bit to better understand what's going on there. > > Another problem in that test is difference between > char_traits::eof() == int(-1) > and char_traits::eof() == int (65536). char_traits::eof() should equal WEOF. Is WEOF equal to 65536 on Windows? The test probably assumes that EOF is the same as WEOF which may not be a safe assumption. > The > basic_stringbuf<>::pbackfail() test > (line 637) expected EOF == -1 and issues rw_error() diagnostic on whar_t > tests. Is this still 27.stringbuf.virtuals.cpp? I don't see any rw_error() in there. Martin