From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 126503 invoked by alias); 26 Oct 2016 15:55:34 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 126485 invoked by uid 89); 26 Oct 2016 15:55:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_RED autolearn=ham version=3.3.2 spammy= X-HELO: relay1.mentorg.com Date: Wed, 26 Oct 2016 15:55:00 -0000 From: Joseph Myers To: Florian Weimer CC: Subject: Re: [PATCH] malloc: Deprecate hook variables, __default_morecore, In-Reply-To: <20161026150218.3F1A4439942E0@oldenburg.str.redhat.com> Message-ID: References: <20161026150218.3F1A4439942E0@oldenburg.str.redhat.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-SW-Source: 2016-10/txt/msg00466.txt.bz2 On Wed, 26 Oct 2016, Florian Weimer wrote: > The functionality in will eventually be replaced with > no-op functions (and a separate, preloadable DSO). If you declare functionality deprecated then you need to update the manual accordingly. But I don't think the right approach is to declare deprecated on an "eventually be replaced" basis. Rather, the deprecation and the new DSO should be in the same patch series, going in the same glibc version, so the NEWS file and the main documentation can tell users of the mtrace script to preload the DSO and remove calls to the mtrace function (if that's the intended way to update code using mtrace and the one to be used for all the glibc tests that make use of it). (And that's general for any deprecation: make clear how people should update their code and ensure the replacement is actually ready first, don't just say something is deprecated in NEWS without the replacement being obvious.) -- Joseph S. Myers joseph@codesourcery.com