From owner-cvs-src@FreeBSD.ORG Wed Aug 29 13:30:24 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6ADF316A419; Wed, 29 Aug 2007 13:30:24 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id E781A13C459; Wed, 29 Aug 2007 13:30:23 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5718D.dip.t-dialin.net [84.165.113.141]) by redbull.bpaserver.net (Postfix) with ESMTP id 0BA3E2E302; Wed, 29 Aug 2007 15:30:00 +0200 (CEST) Received: from deskjail (deskjail.Leidinger.net [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id 8EF605B4996; Wed, 29 Aug 2007 15:29:57 +0200 (CEST) Date: Wed, 29 Aug 2007 15:29:57 +0200 From: Alexander Leidinger To: Yar Tikhiy Message-ID: <20070829152957.01a71f01@deskjail> In-Reply-To: <20070827151033.GM21352@comp.chem.msu.su> References: <20070824215515.GF16131@turion.vk2pj.dyndns.org> <20070824.172212.74696955.imp@bsdimp.com> <200708270850.20904.jhb@freebsd.org> <20070827135625.GF29854@garage.freebsd.pl> <20070827162655.3e3x0cse8w44o4o4@webmail.leidinger.net> <20070827151033.GM21352@comp.chem.msu.su> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_bz.6H.ohFUk2cWgoLyAGY/_" X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.9, required 8, BAYES_00 -15.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No X-Mailman-Approved-At: Wed, 29 Aug 2007 13:33:23 +0000 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: src-committers@FreeBSD.org, Pawel Jakub Dawidek , John Baldwin , peterjeremy@optushome.com.au, alfred@FreeBSD.org, cvs-all@FreeBSD.org, deischen@FreeBSD.org, cvs-src@FreeBSD.org, Warner Losh Subject: Re: cvs commit: src/lib/libc/gen fts-compat.c fts-compat.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Aug 2007 13:30:24 -0000 --MP_bz.6H.ohFUk2cWgoLyAGY/_ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Quoting Yar Tikhiy (Mon, 27 Aug 2007 19:10:34 +0400): > On Mon, Aug 27, 2007 at 04:26:55PM +0200, Alexander Leidinger wrote: > > > > So the really important thing for you is: How many ports are affected > > by this change? > > > > Does anyone have an estimate for this? > > > > If not, does someone has an exhaustive list of affected symbols? I can > > write a short script which has a look into each installed port to > > determine if it is affected or not (based upon the assumption that you > > don't mind if we overlook a few things... I'm not sure if statically > > linked binaries contain enough information). > > With the resolution approaching to avoid compatibility in fts(3) > now and my experiment on improving src/Makefile.inc1 going on really > well, I think I should estimate which ports are going to be affected. > I'll do so by searching binary packages for CURRENT, so some ports > can slip through my sieve. The symbols to look for match the simple > pattern: fts_* (or regexp: ^fts_.*). I don't think there are a lot > of ports using those functions. > > Here's the exact list of symbols to be affected: > > fts_open > fts_close > fts_read > fts_set > fts_children > fts_get_clientptr > fts_get_stream > fts_set_clientptr > Attached are two scripts. find_fts.sh has to be in the PATH. It returns the files specified at the command line, which contain unresolved references to fts_* (e.g. "find_fts.sh /bin/*"). The other script parses a +CONTENTS file of an installed port and hands over the executables and libraries to find_fts.sh. If it finds a match, it prints the port origin. I let it run on my >800 installed ports via for i in /var/db/pkg/*;do; ./analyse_ports_for_fts_abi_change.sh $i;done It didn't find a match. I hope this is not because of a bug in my script... Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 --MP_bz.6H.ohFUk2cWgoLyAGY/_--