[mythtv-commits] mythtv commit: r13329 by cpinkham

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Wed Apr 25 02:56:14 UTC 2007


      Author: cpinkham
        Date: 2007-04-25 02:56:13 +0000 (Wed, 25 Apr 2007)
New Revision: 13329
   Changeset: http://cvs.mythtv.org/trac/changeset/13329

Modified:

   branches/release-0-20-fixes/mythtv/libs/libmyth/util.cpp

Log:

Carry over [12186] and [12192] from trunk to fix getDiskSpace().

The original commit log for 12186 is here:

  Fix space calculations in util.cpp's getDiskSpace() function. Previously
  they would divide the number of blocks by 1024, now they correctly divide
  the total bytes by 1024. This discrepancy was causing some users to see
  large differences in the total and used space stats for the same filesystem
  depending on what host getDiskSpace() was run on. This was affecting Storage
  Groups and the disk usage reporting because the code was unable to determine
  that the two filesystems were in fact the same one.

[12192] was a fix for a potential overflow bug in [12186] for people with
very large filesystems.






More information about the mythtv-commits mailing list