[mythtv-commits] Ticket #7844: Fix mythsocketthread log spam for non-pipe select (windows)

MythTV noreply at mythtv.org
Sun Sep 25 01:41:59 UTC 2011


#7844: Fix mythsocketthread log spam for non-pipe select (windows)
----------------------------------------+----------------------------
 Reporter:  Jeff Lu <jll544@…>          |          Owner:  markk
     Type:  Patch - Bug Fix             |         Status:  closed
 Priority:  minor                       |      Milestone:  0.25
Component:  Ports - Windows             |        Version:  Trunk Head
 Severity:  low                         |     Resolution:  fixed
 Keywords:  win32 socket                |  Ticket locked:  0
----------------------------------------+----------------------------
Changes (by Github):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 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.
  Branch:    master
  Changeset: ea364b3b2be961bb0949381a0c1647ab9b35763e

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/7844#comment:5>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list