Page MenuHomeFreeBSD

D35313.diff
No OneTemporary

D35313.diff

diff --git a/sys/kern/kern_event.c b/sys/kern/kern_event.c
--- a/sys/kern/kern_event.c
+++ b/sys/kern/kern_event.c
@@ -739,7 +739,7 @@
if (delta == 0)
delta = 1;
kn->kn_data += delta;
- kc->next += (delta + 1) * kc->to;
+ kc->next += delta * kc->to;
if (now >= kc->next) /* overflow */
kc->next = now + kc->to;
KNOTE_ACTIVATE(kn, 0); /* XXX - handle locking */

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 23, 1:14 AM (20 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16044429
Default Alt Text
D35313.diff (384 B)

Event Timeline