1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/cad/cider/files/patch-bm
Kevin Lo fe660b3573 - Prevent possible buffer overflow
- Use erfc(3).

PR: 22343
Submitted by:	 MAINTAINER
2000-10-28 16:13:06 +00:00

17 lines
345 B
Plaintext

--- 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