[mythtv-commits] mythtv/master commit: 01177a3ed by Nigel Pearson (NigelPearson)
MythTV
noreply at mythtv.org
Fri Mar 16 12:10:35 UTC 2012
Author: Nigel Pearson <npearson at mythtv.org>
Change Date: 2012-03-16T04:52:15-07:00
Push Date: 2012/03/16 05:10:29 -0700
Repository: mythtv
Branch: master
New Revision: 01177a3ed1cc6acd90559d9e8382a61af251b96e
Changeset: https://github.com/MythTV/mythtv/commit/01177a3ed
Log:
Performance/bug fix in media monitor ScanMediaType().
Symlinks to other places (like /Applications on OS X disk images) can cause
unwanted scanning of irrelevant directories and a big performance hit.
Even worse is symlinks which point to themselves, or a parent directory,
which recurse forever and blow the stack. If anyone really thinks that symlinks
should be used in file counts, we can revisit and add recursion limit rules?
Modified:
mythtv/libs/libmythbase/mythmedia.cpp
More information about the mythtv-commits
mailing list