diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2005-05-03 13:39:48 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2005-05-03 13:39:48 +0000 |
commit | 4382a63faf11cbd8183330f8ce2561b8add4f416 (patch) | |
tree | 5bfdc890761336c2db63529e61c1f9c07a451e35 /net/asterisk14/files/patch-pbx::pbx_wilcalu.c | |
parent | Fix the dd2.cfg existence test in post-install (diff) |
pbx_wilcalu.c:
new patch for this file, smooths the effects of
an unhandled error Cexiting from poll() and resulting
otherwise in this process taking 100% of the CPU
rtp.c:
updated patch for rtp.c, removes a misleading 'checksum error'
message when in reality the recvfrom() just returned no data;
chan_oss.c:
replacement for the old chan_oss.c - the changes are
so massive that having a patch would be completely
unreadable.
Among other things this lets you change many /dev/dsp
parameters from the config file, to ease adapting to
the idiosincracies of various sound cards and drivers.
It also supports multiple soundcards on the same box,
which might be useful in some cases.
Submitted by: luigi
Add WITHOUT_MYSQL knob.
Suggested by: phantom
Notes
Notes:
svn path=/head/; revision=134552
Diffstat (limited to 'net/asterisk14/files/patch-pbx::pbx_wilcalu.c')
-rw-r--r-- | net/asterisk14/files/patch-pbx::pbx_wilcalu.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net/asterisk14/files/patch-pbx::pbx_wilcalu.c b/net/asterisk14/files/patch-pbx::pbx_wilcalu.c new file mode 100644 index 000000000000..41722c65568d --- /dev/null +++ b/net/asterisk14/files/patch-pbx::pbx_wilcalu.c @@ -0,0 +1,14 @@ +--- pbx/pbx_wilcalu.c.orig Tue Apr 26 10:00:28 2005 ++++ pbx/pbx_wilcalu.c Tue Apr 26 10:03:42 2005 +@@ -82,6 +82,11 @@ + fds[0].events = POLLIN; + poll(fds, 1, -1); + bytes=read(fd,buf,256); ++ if (bytes <= 0) { ++ /* XXX error on device, sleep a bit before retrying */ ++ sleep(1); ++ continue; ++ } + buf[(int)bytes]=0; + + if(bytes>0){ |