Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!vaxine!wjh12!genrad!decvax!harpo!seismo!hao!hplabs!sri-unix!gwyn@Brl-Vld.ARPA From: gwyn@Brl-Vld.ARPA Newsgroups: net.unix-wizards Subject: Bugs in System V math library Message-ID: <474@sri-arpa.UUCP> Date: Fri, 30-Mar-84 13:55:05 EST Article-I.D.: sri-arpa.474 Posted: Fri Mar 30 13:55:05 1984 Date-Received: Wed, 4-Apr-84 03:27:36 EST Lines: 16 From: Doug Gwyn (VLD/VMB) Gary Moss uncovered a family of bugs in the UNIX System V (Release 1) math library. The matherr() function was being passed the whole exception structure rather than a pointer to it, in the following files: gamma.c line 57 j0.c line 210 j1.c lines 155 & 203 sin.c line 48 To fix this, just put an ampersand & in front of "exc" in these calls to matherr(). Anyone who has the BRL UNIX System V emulation for 4.2BSD up to now has this bug, too.