Date: Mon, 1 Jan 2018 10:35:32 -0800 (PST) From: "Rodney W. Grimes" <freebsd-rwg@pdx.rh.CN85.dnsmgr.net> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: Larry McVoy <lm@mcvoy.com>, FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: Is it considered to be ok to not check the return code of close(2) in base? Message-ID: <201801011835.w01IZWtG087572@pdx.rh.CN85.dnsmgr.net> In-Reply-To: <79511.1514831188@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
> -------- > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801011835.w01IZWtG087572>