[mythtv-commits] Ticket #5150: save_read can return -1 or differing save count when called

MythTV mythtv at cvs.mythtv.org
Thu Aug 13 18:17:01 UTC 2009


#5150: save_read can return -1 or differing save count when called
---------------------------------------------+------------------------------
 Reporter:  Erik Hovland <erik at hovland.org>  |        Owner:  janne  
     Type:  defect                           |       Status:  closed 
 Priority:  trivial                          |    Milestone:  0.22   
Component:  mythtv                           |      Version:  head   
 Severity:  low                              |   Resolution:  invalid
  Mlocked:  0                                |  
---------------------------------------------+------------------------------
Changes (by janne):

  * status:  assigned => closed
  * resolution:  => invalid


Comment:

 there are ATM only two locations which check only that save_read is non
 negative.

 Both read from the start of the file so it's sane to assume that the read
 either fail or are complete. The patches in this ticket change different
 parts of the file,

 Since it's imported code we shouldn't not change too much like replacing
 all perror/exit with proper error handling.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5150#comment:5>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list