mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-09 20:40:13 -04:00
41 lines
732 B
Plaintext
41 lines
732 B
Plaintext
$NetBSD: patch-ac,v 1.1 2003/12/17 16:58:25 sketch Exp $
|
|
|
|
--- interp.c.orig Fri Mar 28 12:17:12 1997
|
|
+++ interp.c Thu Oct 23 08:13:11 2003
|
|
@@ -119,7 +119,7 @@
|
|
|
|
/* Ratio is too extreme */
|
|
if(ratio > 100.0) {
|
|
- restrict();
|
|
+ badratio();
|
|
return -1.0;
|
|
}
|
|
|
|
@@ -132,7 +132,7 @@
|
|
{
|
|
/* Ratio is too extreme */
|
|
if(ratio < 0.1 || ratio > 50.0) {
|
|
- restrict();
|
|
+ badratio();
|
|
return -1.0;
|
|
}
|
|
|
|
@@ -146,7 +146,7 @@
|
|
{
|
|
/* Ratio is too extreme */
|
|
if(ratio < 0.1 || ratio > 10.0) {
|
|
- restrict();
|
|
+ badratio();
|
|
return -1.0;
|
|
}
|
|
|
|
@@ -155,7 +155,7 @@
|
|
|
|
/* Display the worst-case restriction to avoid confusion */
|
|
void
|
|
-restrict()
|
|
+badratio()
|
|
{
|
|
E "\007Length divided by Diameter must be between 0.1 and 10.0 ");
|
|
}
|