Return-Path: X-Original-To: apmail-stdcxx-dev-archive@www.apache.org Delivered-To: apmail-stdcxx-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8F8CD9A62 for ; Wed, 16 May 2012 18:59:03 +0000 (UTC) Received: (qmail 19445 invoked by uid 500); 16 May 2012 18:59:03 -0000 Delivered-To: apmail-stdcxx-dev-archive@stdcxx.apache.org Received: (qmail 19403 invoked by uid 500); 16 May 2012 18:59:03 -0000 Mailing-List: contact dev-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 dev@stdcxx.apache.org Received: (qmail 19393 invoked by uid 99); 16 May 2012 18:59:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2012 18:59:03 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of msebor@gmail.com designates 209.85.160.54 as permitted sender) Received: from [209.85.160.54] (HELO mail-pb0-f54.google.com) (209.85.160.54) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2012 18:58:54 +0000 Received: by pbbro2 with SMTP id ro2so1567544pbb.41 for ; Wed, 16 May 2012 11:58:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=4aau4HIH0BXBBHx9rzXQxD43hQRKm2gkdvH5S3i+I70=; b=Vtm91cStOF2BW7tVbJJOvQv9YciBz4Z6kY49Wm0iifcsLt3hMN+Kci1GhgM1pAWixB +tpPoxjxyvmGIvyVpM38H1NL1jOvblC2g0or2YJKrlMaTvWp2wwc2M+1gTR2WLlTPFcE viDYUr9RfTMLqIpgy8FTkirfacgs/tbIjUPuvbv3O5DeuunNzalVHr4EuC7pUnlxnXN2 v2NaedgSIAGEECnITO0qswTy5Fa6eL+yjLIiZBDWxC2gZGdszJK2BwxzKjxHigxQaO9w NF9RhmgAPJIzLb1So4bTaCdLntSEfBCeadttDwihC5jfV3i3q3RQ9Dr7zfitL3OWkW06 ApNA== Received: by 10.68.221.35 with SMTP id qb3mr18941767pbc.136.1337194712714; Wed, 16 May 2012 11:58:32 -0700 (PDT) Received: from localhost.localdomain (72-163-0-129.cisco.com. [72.163.0.129]) by mx.google.com with ESMTPS id sh10sm6299630pbc.48.2012.05.16.11.58.31 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 16 May 2012 11:58:32 -0700 (PDT) Message-ID: <4FB3F8D6.3070007@gmail.com> Date: Wed, 16 May 2012 12:58:30 -0600 From: Martin Sebor User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: dev@stdcxx.apache.org CC: Travis Vitek Subject: Re: [jira] [Updated] (STDCXX-1058) std::basic_ios<>::copyfmt() with registered callback (via std::ios_base::register_callback()) run-time SIGABRT References: <330482791.12512.1328421173597.JavaMail.tomcat@hel.zones.apache.org> <1431222055.10784.1335292293596.JavaMail.tomcat@hel.zones.apache.org> <53D52D02E87FA04A948D9A74A7AE617C11B358D02F@Eagle.Blue.Roguewave.Com> In-Reply-To: <53D52D02E87FA04A948D9A74A7AE617C11B358D02F@Eagle.Blue.Roguewave.Com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 05/16/2012 11:55 AM, Travis Vitek wrote: > I approve the change, but with one caveat. The branching policy [1] indicates that you should commit your changes directly to the 4.2.x branch. They should be merged from 4.2.x to 4.3.x, and then from 4.3.x to trunk. The test in the issue should be committed with the patch (after adding the necessary asserts, being renamed to follow the naming convention for regression tests, i.e., something like regress/27.basic_ios.stdcxx-1058.cpp, and decorated with the ASF license header). > > It has been a long time since I've worked actively on the stdcxx project, but it seems that if seeking feedback on a patch before committing you would send something to the list. It seems that trivial changes were committed to the appropriate branch without prior review. Unfortunately, the committers page [2] indicates that my memory is wrong. I think the two are subtly inconsistent. At one point, I think we wanted to commit to trunk first and then merge to branches. That seems to be the safer way to work. I'm not sure why we set up the branching policy to commit to the most restrictive branch first. It might be in the archives. Or we can change it. Other than that, the stdcxx index page is out of date. It doesn't reflect that Stefan is both a committer and a PMC member, and it still lists me as PMC chair. I viewed it as part of my job to update the page when I chaired the project. But I wouldn't expect the current chair to do it. So if we want to keep the site up to date we'll need to decide who should update these things (anyone with commit permissions can). Martin > > Travis > > [1] http://wiki.apache.org/stdcxx/Branching > [2] http://stdcxx.apache.org/index.html#committers > > > Index: 4.2.x/src/iostore.cpp > =================================================================== > --- 4.2.x/src/iostore.cpp (revision 1055501) > +++ 4.2.x/src/iostore.cpp (working copy) > @@ -335,8 +335,14 @@ > // delete existing arrays, if any; _C_usr will only be deleted > // if `rhs' contains no user data (see below) > operator delete (_C_usr->_C_iarray); > + _C_usr->_C_iarray = 0; > + _C_usr->_C_isize = 0; > operator delete (_C_usr->_C_parray); > + _C_usr->_C_parray = 0; > + _C_usr->_C_psize = 0; > operator delete (_C_usr->_C_cbarray); > + _C_usr->_C_cbarray = 0; > + _C_usr->_C_cbsize = 0; > } > else if (ia || pa || cba || ptie) { > // allocation may throw >