From owner-freebsd-hackers@freebsd.org Mon Jan 1 18:35:35 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 06B07EB68EF for ; Mon, 1 Jan 2018 18:35:35 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A485977214 for ; Mon, 1 Jan 2018 18:35:34 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id w01IZWQR087573; Mon, 1 Jan 2018 10:35:32 -0800 (PST) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id w01IZWtG087572; Mon, 1 Jan 2018 10:35:32 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201801011835.w01IZWtG087572@pdx.rh.CN85.dnsmgr.net> Subject: Re: Is it considered to be ok to not check the return code of close(2) in base? In-Reply-To: <79511.1514831188@critter.freebsd.dk> To: Poul-Henning Kamp Date: Mon, 1 Jan 2018 10:35:32 -0800 (PST) CC: Larry McVoy , FreeBSD Hackers X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Mailman-Approved-At: Mon, 01 Jan 2018 20:22:11 +0000 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:35:35 -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 Um V7 was after V6, and is probably when asssert.h was introduced, so I would win the bit, assert.h didnt even exist at V6. I can go pull the hardcopy manuals and check.... be later today. -- Rod Grimes rgrimes@freebsd.org