1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Fix a crash on -STABLE with a SIGFPE error which would happen every few

seconds after startup.

Submitted by:	Vivek Khera <khera@kciLink.com>
This commit is contained in:
Jim Mock 1999-12-28 23:58:35 +00:00
parent 9449ae60c3
commit 3e99ec297e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=24211
3 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- src/buddy.c.orig Wed Nov 3 20:00:06 1999
+++ src/buddy.c Fri Dec 17 18:55:24 1999
@@ -202,7 +202,7 @@
pct = last_lag_us/100000;
- pct = 25 * log(pct);
+ pct = 25 * log(pct+1.0);
if (pct < 0)
pct = 0;

View File

@ -0,0 +1,11 @@
--- src/buddy.c.orig Wed Nov 3 20:00:06 1999
+++ src/buddy.c Fri Dec 17 18:55:24 1999
@@ -202,7 +202,7 @@
pct = last_lag_us/100000;
- pct = 25 * log(pct);
+ pct = 25 * log(pct+1.0);
if (pct < 0)
pct = 0;

11
net/gaim/files/patch-aa Normal file
View File

@ -0,0 +1,11 @@
--- src/buddy.c.orig Wed Nov 3 20:00:06 1999
+++ src/buddy.c Fri Dec 17 18:55:24 1999
@@ -202,7 +202,7 @@
pct = last_lag_us/100000;
- pct = 25 * log(pct);
+ pct = 25 * log(pct+1.0);
if (pct < 0)
pct = 0;