From fe660b35732a2be7063ead8ee6a67b2b2f14f55d Mon Sep 17 00:00:00 2001 From: Kevin Lo Date: Sat, 28 Oct 2000 16:13:06 +0000 Subject: - Prevent possible buffer overflow - Use erfc(3). PR: 22343 Submitted by: MAINTAINER --- cad/cider/files/patch-bm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 cad/cider/files/patch-bm (limited to 'cad/cider/files/patch-bm') diff --git a/cad/cider/files/patch-bm b/cad/cider/files/patch-bm new file mode 100644 index 000000000000..d750cfd15b6b --- /dev/null +++ b/cad/cider/files/patch-bm @@ -0,0 +1,16 @@ +--- cider/common/src/lib/support/erfc.c.orig Sat Jan 29 19:29:27 1994 ++++ cider/common/src/lib/support/erfc.c Tue Oct 24 12:23:09 2000 +@@ -10,6 +10,7 @@ + + /* erfc computes the erfc(x) the code is from sedan's derfc.f */ + ++#ifdef HAS_NO_ERFC + double erfc ( x ) + double x; + { +@@ -46,4 +47,4 @@ + return( 1.0 - sum2 ); + } + } +- ++#endif -- cgit v1.2.3