[mythtv-commits] Ticket #5288: HTTPRequest::SendResponseFile file race and negative returns

MythTV mythtv at cvs.mythtv.org
Tue Aug 12 01:09:29 UTC 2008


#5288: HTTPRequest::SendResponseFile file race and negative returns
---------------------------------------------+------------------------------
 Reporter:  Erik Hovland <erik at hovland.org>  |        Owner:  ijr    
     Type:  defect                           |       Status:  new    
 Priority:  minor                            |    Milestone:  unknown
Component:  mythtv                           |      Version:  head   
 Severity:  low                              |   Resolution:         
  Mlocked:  0                                |  
---------------------------------------------+------------------------------

Comment(by danielk):

 Note: We used stat throughout MythTV to check on file sizes since
 QFile::size() used to only return a proper file size for small files.

 We should confirm that QFile::size() returns the proper size for large
 files now (post-Qt4 conversion, large being files >4GB); then, assuming it
 does, we should systematically replace stat() calls that are solely used
 for file size checks in MythTV.

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


More information about the mythtv-commits mailing list