Use iterator rather than caching approach for paths
Authored by: mdboom 2007-09-19
Parent: [r3859]
Child: [r3861]