[net.unix-wizards] Bugs in System V math library

gwyn@Brl-Vld.ARPA (03/30/84)

From:      Doug Gwyn (VLD/VMB) <gwyn@Brl-Vld.ARPA>

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.