CVSROOT: /cvs Module name: ports Changes by: st...@cvs.openbsd.org 2012/03/17 17:08:20
Modified files: telephony/asterisk: Makefile Added files: telephony/asterisk/patches: patch-pbx_pbx_spool_c Log message: Avoid a tight loop in asterisk's pbx_spool thread reported by drahn@ under rthread. kern_time.c:itimerfix() requires the kevent interval timer to be <= 100M seconds otherwise it passes an EINVAL back up, giving an error return from kevent(). The initial timestamp is (INT_MAX-cur time) i.e. around 800M so we hit this. Workaround by clamping tv_sec to 100M sec.