From owner-svn-src-head@FreeBSD.ORG Tue Feb 26 17:09:49 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A25A6211; Tue, 26 Feb 2013 17:09:49 +0000 (UTC) (envelope-from davide.italiano@gmail.com) Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by mx1.freebsd.org (Postfix) with ESMTP id 9E4D810BA; Tue, 26 Feb 2013 17:09:48 +0000 (UTC) Received: by mail-wi0-f171.google.com with SMTP id hn17so5177420wib.4 for ; Tue, 26 Feb 2013 09:09:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=htnbC5Zcd07c4KcFbdcuhqwEtYPdst+KV+L2JNUjJyo=; b=BfLhdW45GYNBXLCVla1BX8b93ewTrlI9iwPR88zODvKT3jd56e224Pm9F8e4T5chUl nzaOs90sDQJoCqqBQe3JhLLRfGqUQE3E/9fnEKFXdLl8ZZ8DLrihC9vxut6MAGYbjToU aiBlDTGuC22zU2FtTjwBGrox7Bmfu9rZkk59bHSU33MeKRbp7PBO6b0PmKKAtsNjMbVl FWoZ5TmC83N3HgvOGrjGARdKnK7iiq3x9q8YZCGg7CVmBKoFQvL0XJuEGNW0KUaa/DmB LRcka3Mu+bm6RGAmO8MNePXAExoVrx4z7i918jkVvpji9PjpD6B1rOKkbd6C+0C5f//T yXhA== MIME-Version: 1.0 X-Received: by 10.194.119.68 with SMTP id ks4mr28071775wjb.3.1361898582471; Tue, 26 Feb 2013 09:09:42 -0800 (PST) Sender: davide.italiano@gmail.com Received: by 10.180.105.197 with HTTP; Tue, 26 Feb 2013 09:09:42 -0800 (PST) In-Reply-To: <201302260941.52534.jhb@freebsd.org> References: <201302260213.r1Q2D2N1016801@svn.freebsd.org> <201302260941.52534.jhb@freebsd.org> Date: Tue, 26 Feb 2013 18:09:42 +0100 X-Google-Sender-Auth: yDYu8RCWnvKCQR6QaVDWn7wRIvU Message-ID: Subject: Re: svn commit: r247300 - in head: sys/sys usr.bin/truss From: Davide Italiano To: John Baldwin Content-Type: text/plain; charset=ISO-8859-1 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Xin LI X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2013 17:09:49 -0000 On Tue, Feb 26, 2013 at 3:41 PM, John Baldwin wrote: > On Monday, February 25, 2013 9:13:02 pm Xin LI wrote: >> Author: delphij >> Date: Tue Feb 26 02:13:02 2013 >> New Revision: 247300 >> URL: http://svnweb.freebsd.org/changeset/base/247300 >> >> Log: >> Expose timespec and timeval macros when __BSD_VISIBLE is defined. This >> allows userland application to use the following macros: >> >> timespecclear, timespecisset, timespeccmp, timespecadd, >> timespecsub; >> >> timevalclear, timevalisset, timevalcmp. > > Why not fix truss to use the stock functions instead of keeping private > "unusual" versions? > > -- > John Baldwin time.h is already a mess in terms of namespace pollution, and this exposure might not help thing. Other details here: http://permalink.gmane.org/gmane.os.freebsd.architechture/15518 -- Davide "There are no solved problems; there are only problems that are more or less solved" -- Henri Poincare