Re: bin/144306: Nasty bug in jn(3)

2010-02-26 Thread Steven G. Kargl
The following reply was made to PR bin/144306; it has been noted by GNATS. From: "Steven G. Kargl" To: freebsd-gnats-sub...@freebsd.org, freebsd-bugs@FreeBSD.org Cc: Subject: Re: bin/144306: Nasty bug in jn(3) Date: Fri, 26 Feb 2010 11:58:33 -0800 (PST) A review of the source

Re: bin/144306: Nasty bug in jn(3)

2010-02-26 Thread Steven G. Kargl
A review of the source history at http://svn.freebsd.org/viewvc/base/head/lib/msun/src/e_jn.c?view=log shows that this bug has been around for at 15 years. Hopefully, the patch doesn't sit in idly in the bug database. -- Steve http://troutmask.apl.washington.edu/~kargl/ ___

Re: bin/144306: Nasty bug in jn(3)

2010-02-25 Thread Steven G. Kargl
A better patch: Index: src/e_jnf.c === --- src/e_jnf.c (revision 204219) +++ src/e_jnf.c (working copy) @@ -153,6 +153,12 @@ } } b = (t*__ieee754_j0f(x)/b); + z = __iee

Re: bin/144306: Nasty bug in jn(3)

2010-02-25 Thread Steven G. Kargl
The following reply was made to PR bin/144306; it has been noted by GNATS. From: "Steven G. Kargl" To: freebsd-gnats-sub...@freebsd.org, freebsd-bugs@FreeBSD.org Cc: Subject: Re: bin/144306: Nasty bug in jn(3) Date: Thu, 25 Feb 2010 20:15:33 -0800 (PST) This patch fixes the problem

Re: bin/144306: Nasty bug in jn(3)

2010-02-25 Thread Steven G. Kargl
This patch fixes the problem. Index: e_jn.c === --- e_jn.c (revision 204219) +++ e_jn.c (working copy) @@ -200,7 +200,12 @@ } } } - b = (t*__ieee754_j

bin/144306: Nasty bug in jn(3)

2010-02-25 Thread Steven G. Kargl
>Number: 144306 >Category: bin >Synopsis: Nasty bug in jn(3) >Confidential: no >Severity: serious >Priority: low >Responsible:freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: curren