From owner-freebsd-hackers@freebsd.org Mon Jan 1 18:26:48 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1B6E3EB63E9 for ; Mon, 1 Jan 2018 18:26:48 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id D755876CF6 for ; Mon, 1 Jan 2018 18:26:47 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.55.3]) by phk.freebsd.dk (Postfix) with ESMTP id 3ADBD2738A; Mon, 1 Jan 2018 18:26:45 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.15.2/8.15.2) with ESMTPS id w01IQTDq079513 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 1 Jan 2018 18:26:29 GMT (envelope-from phk@critter.freebsd.dk) Received: (from phk@localhost) by critter.freebsd.dk (8.15.2/8.15.2/Submit) id w01IQSZs079512; Mon, 1 Jan 2018 18:26:28 GMT (envelope-from phk) To: "Rodney W. Grimes" cc: Larry McVoy , FreeBSD Hackers Subject: Re: Is it considered to be ok to not check the return code of close(2) in base? In-reply-to: <201801011755.w01HtOtD087353@pdx.rh.CN85.dnsmgr.net> From: "Poul-Henning Kamp" References: <201801011755.w01HtOtD087353@pdx.rh.CN85.dnsmgr.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <79510.1514831188.1@critter.freebsd.dk> Content-Transfer-Encoding: quoted-printable Date: Mon, 01 Jan 2018 18:26:28 +0000 Message-ID: <79511.1514831188@critter.freebsd.dk> X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jan 2018 18:26:48 -0000 -------- In message <201801011755.w01HtOtD087353@pdx.rh.CN85.dnsmgr.net>, "Rodney W= . Gri mes" writes: >It further says that an assert() appeared in V6, and I bet that NDEBUG >didnt exist at that time. Well, I think you'll loose that bet, because the earliest copy of assert.h which has been uncovered does have NDEBUG: https://github.com/dspinellis/unix-history-repo/blob/Research-V7-Snapshot= -Development/usr/include/assert.h -- = Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe = Never attribute to malice what can adequately be explained by incompetence= .