From owner-svn-src-head@FreeBSD.ORG Wed Feb 18 23:28:31 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3B96CB5D for ; Wed, 18 Feb 2015 23:28:31 +0000 (UTC) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9499CFF1 for ; Wed, 18 Feb 2015 23:28:30 +0000 (UTC) Received: by mail-wg0-f50.google.com with SMTP id l2so4102187wgh.9 for ; Wed, 18 Feb 2015 15:28:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type; bh=2ViFiMT57OvpjKyLgWoVoMYc1rcDLeDPfcKd5TNbwLM=; b=Y7ShbeJ+tu4j6I4T1E6PX6ykwsDRqemw27a9VxhYW+clXrECr5x2+Zjavi0w6viiHG OUekxHXDWjORBxzJ+kozZUsmLY39aYbeDKTV3nc+zeRANrwPybAOCZVj8Z/MQE7yqfTa 0ChK2cGWXzKqk3AlOdoGuHcmUSFDqzVA+aY0yiKYWN9w3PuJBmkV4nmNa8UfuJhkig9l KhpH/dF3ayGIbFLdWlSFPfVNTDz9BpJoGrgnh4uZIXxdSR+qsZgHCW7ndz7kF0BRP+ts y7kwCXgDVFvlSGqKhx/VBUS8pZHvtUwKEar5RcKjdnGwpO+RvgGhl+Z8BaBou3RPPWem zbEw== X-Gm-Message-State: ALoCoQnj/FDN6501sUdIsIVMNqGTgPLuVFRp6ooNIxgs4FkMjndgW+g+QxjniuR1ItT9p9KV0JYw X-Received: by 10.194.187.236 with SMTP id fv12mr3144156wjc.131.1424302102919; Wed, 18 Feb 2015 15:28:22 -0800 (PST) Received: from [10.10.1.68] (82-69-141-170.dsl.in-addr.zen.co.uk. [82.69.141.170]) by mx.google.com with ESMTPSA id gm2sm21528228wib.5.2015.02.18.15.28.20 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Feb 2015 15:28:21 -0800 (PST) From: Steven Hartland X-Google-Original-From: Steven Hartland Message-ID: <54E52011.9040502@freebsd.org> Date: Wed, 18 Feb 2015 23:28:17 +0000 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Rui Paulo Subject: Re: svn commit: r277300 - in head: cddl/contrib/opensolaris/cmd/dtrace cddl/contrib/opensolaris/cmd/lockstat cddl/contrib/opensolaris/cmd/mdb/tools/common cddl/contrib/opensolaris/cmd/plockstat cddl/co... References: <5f8079b1-ae7d-4977-99f6-a8fd0f3f8252@me.com> In-Reply-To: <5f8079b1-ae7d-4977-99f6-a8fd0f3f8252@me.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 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: Wed, 18 Feb 2015 23:28:31 -0000 On 18/02/2015 18:36, Rui Paulo wrote: > On Jan 17, 2015, at 06:45 AM, Steven Hartland wrote: > >> Author: smh >> Date: Sat Jan 17 14:44:59 2015 >> New Revision: 277300 >> URL: https://svnweb.freebsd.org/changeset/base/277300 >> >> Log: >> Mechanically convert cddl sun #ifdef's to illumos >> >> Since the upstream for cddl code is now illumos not sun, mechanically >> convert all sun #ifdef's to illumos #ifdef's which have been used in all >> newer code for some time. >> >> Also do a manual pass to correct the use if #ifdef comments as per >> style(9) >> as well as few uses of #if defined(__FreeBSD__) vs #ifndef illumos. > I had just convinced Mark Johnston to use "#ifdef __FreeBSD__" instead > of "#ifndef illumos". Is there a reason why we keep using #ifndef ? > To me, it's much easier to read #ifdef __FreeBSD__ than to note > whether theres an "n" in that pre-processor macro. > None that I'm aware of, happy to go with that in the future :)