Path to this page:
Subject: CVS commit: pkgsrc/chat/i2cbd
From: Jim Wise
Date: 2006-05-11 05:55:05
Message id: 20060511035505.089382DA27@cvs.netbsd.org
Log Message:
Update to i2cbd-2.0_BETA5: fold in patch-aj, from Thor Lancelot Simon:
Don't set O_NDELAY (and leave it set!) on all sockets, all the time. This
was making select always return immediately and was causing the daemon to
spin on CPU.
Instead, set O_NONBLOCK (= O_NDELAY) on sockets only when reading/writing
them, and clear it afterwards, so select is always safe.
Files: