From owner-svn-src-all@freebsd.org Tue Feb 13 20:40:27 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9A209F229F5; Tue, 13 Feb 2018 20:40:27 +0000 (UTC) (envelope-from rpokala@mac.com) Received: from mr11p00im-asmtp003.me.com (mr11p00im-asmtp003.me.com [17.110.69.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 329906FF09; Tue, 13 Feb 2018 20:40:27 +0000 (UTC) (envelope-from rpokala@mac.com) Received: from process-dkim-sign-daemon.mr11p00im-asmtp003.me.com by mr11p00im-asmtp003.me.com (Oracle Communications Messaging Server 8.0.1.2.20170607 64bit (built Jun 7 2017)) id <0P4300200U98RW00@mr11p00im-asmtp003.me.com>; Tue, 13 Feb 2018 20:40:12 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mac.com; s=04042017; t=1518554412; bh=pRNowctWcuY/WmgRKm+yv7Cfllf7C0I+waUKQZHzC1w=; h=Date:Subject:From:To:Message-id:MIME-version:Content-type; b=rtLQWkIqEeaeZOl0cufp6m9R7OD3DMn7a9BWTC2wiMiKQFk1mhABU+pdm1/6dK0sP bcNo6UeYKNhwyo5YoPjJnNyFGzD5lx1AU7RBZyK86NV3OwKDPO07CQpbK/qeMkn3fb iV6MdH1C1lh30/byJSUOEt4YRqSuzNlVn3GAN7yzvDmYWpPQqwzmkrg1lWDvSE2M/z vRr0GIW1wDnuVVyDQznTPZdB0fiKZEBd4QNibwM1N9JLIp7ssQHTV17bSMXPpAxybg UuWSkf4qtOEvG0oLnU5daZFwKQ2JoYPmBCLbIKBA8EgALWzXLKVDfdYW45g8NdzImF 34mn8fT9VSvag== Received: from icloud.com ([127.0.0.1]) by mr11p00im-asmtp003.me.com (Oracle Communications Messaging Server 8.0.1.2.20170607 64bit (built Jun 7 2017)) with ESMTPSA id <0P4300GGWW2XD010@mr11p00im-asmtp003.me.com>; Tue, 13 Feb 2018 20:40:10 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-13_11:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1011 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1802130245 User-Agent: Microsoft-MacOutlook/10.9.0.180116 Date: Tue, 13 Feb 2018 12:40:08 -0800 Subject: Re: svn commit: r329237 - head/sys/libkern From: Ravi Pokala To: Eric van Gyzen , Ed Maste , Ian Lepore Cc: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Message-id: Thread-topic: svn commit: r329237 - head/sys/libkern References: <201802131917.w1DJHmso047463@repo.freebsd.org> <1518549829.85310.39.camel@freebsd.org> <1b3a489d-d62c-6f88-a269-a35ad9bf5ef5@vangyzen.net> In-reply-to: <1b3a489d-d62c-6f88-a269-a35ad9bf5ef5@vangyzen.net> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 7bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Feb 2018 20:40:27 -0000 -----Original Message----- From: on behalf of Eric van Gyzen Date: 2018-02-13, Tuesday at 11:52 To: Ed Maste , Ian Lepore Cc: src-committers , , Subject: Re: svn commit: r329237 - head/sys/libkern > ... > > I prefer '\0' here because it tells the reader that it's a NUL > character, as opposed to a NULL pointer or a zero integer. Yes, the > reader should already know that, but the author can /help/ the reader by > communicating more clearly and completely. > > Eric Out of morbid curiosity, does any standard (or any of our non-standard headers) define a "NUL" macro for use as a manual string terminator? -Ravi (rpokala@)