[mythtv-commits] mythtv commit: r23113 - in trunk/mythtv by mdean

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Tue Jan 12 01:36:41 UTC 2010


      Author: mdean
        Date: 2010-01-12 01:36:41 +0000 (Tue, 12 Jan 2010)
New Revision: 23113
   Changeset: http://svn.mythtv.org/trac/changeset/23113

Modified:

   trunk/mythtv/libs/libmyth/util.cpp
   trunk/mythtv/libs/libmyth/util.h
   trunk/mythtv/libs/libmythtv/datadirect.cpp
   trunk/mythtv/libs/libmythtv/previewgenerator.cpp
   trunk/mythtv/programs/mythbackend/mythxml.cpp

Log:

Make scaled preview image filesystem permissions match those of the "default-sized" preview images.

This change basically applies the same preview-image chmod 666 hack added in [9566] and [9571] to the preview images created by MythXML.  Rather than replicate the hack, yet again, it moves the chmod to makeFileAccessible() in libs/libmyth/util.cpp and updates all the previous code to call that function.

The patch also removes some includes that no longer seem to be necessary after removing the calls to chmod().  Please send an e-mail to the list or mention on IRC if your compiler disagrees with me/my compiler.

Closes #4860 with patch from sphery.





More information about the mythtv-commits mailing list