Date: Sat, 2 Dec 1995 07:47:00 -0600 From: peter@taronga.com (Peter da Silva) To: markd@grizzly.com Cc: hackers@freebsd.org Subject: Re: NPX still broken in 2.1.0-951104-SNAP... Message-ID: <199512021347.HAA02084@bonkers.taronga.com> In-Reply-To: <199511060224.SAA06030@grizzly.com> References: <199511052310.KAA18574@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Mark Diekhans <markd@grizzly.com> wrote: >Its incompatible with every Unix system I have access to. See enclosed table. >No system core dumps! I don't have any standards handy, but SCO, which >is X/Open, ANSI, and POSIX compatible sets errno and returns NaN. I agree, this is the best default behaviour. >Most portable software checks errno, although the best approach is to check >both errno and NaN. Doubled. You shouldn't check errno unless you have an error status. Too much stuff sets errno as a side effect (:-p).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512021347.HAA02084>