Is it considered to be ok to not check the return code of close(2) in base?
Poul-Henning Kamp
phk at phk.freebsd.dk
Mon Jan 1 18:26:48 UTC 2018
--------
In message <201801011755.w01HtOtD087353 at 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 at 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.
More information about the freebsd-hackers
mailing list