1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/net/gaim/files/patch-aa
Jim Mock 3e99ec297e Fix a crash on -STABLE with a SIGFPE error which would happen every few
seconds after startup.

Submitted by:	Vivek Khera <khera@kciLink.com>
1999-12-28 23:58:35 +00:00

12 lines
276 B
Plaintext

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