[mythtv-commits] mythtv/master commit: ea364b3b2 by Gavin Hurlbut (Beirdo)
MythTV
noreply at mythtv.org
Sun Sep 25 01:41:59 UTC 2011
Author: Gavin Hurlbut <ghurlbut at mythtv.org>
Change Date: 2011-09-24T18:34:38-07:00
Push Date: 2011/09/24 18:41:54 -0700
Repository: mythtv
Branch: master
New Revision: ea364b3b2be961bb0949381a0c1647ab9b35763e
Changeset: https://github.com/MythTV/mythtv/commit/ea364b3b2
Log:
Fix spamming non-pipe select
It is necessary to reset the contents of rfds and efds both every time before
running select. As this was missing from the loop, unexpected breakage
occurred. Also, don't say we've received data if the rval <= 0 (i.e. no
results or an error).
This is inspired by the patch in #7844. Closes #7844.
Modified:
mythtv/libs/libmythbase/mythsocketthread.cpp
More information about the mythtv-commits
mailing list