change the nsIDirectoryIterator::Init interface to match the nsDirectoryIterator ctor: two paramenters, a file spec and a bool for resolveSymlinks. pass in PR_TRUE in the pref and component manager code. this fixes the problem where prefs wouldn't get loaded on the mac!
git-svn-id: svn://10.0.0.236/trunk@41358 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1758,7 +1758,7 @@ nsComponentManagerImpl::SyncComponentsInDir(RegistrationTime when, nsIFileSpec *
|
||||
nsCOMPtr<nsIDirectoryIterator>dirIterator;
|
||||
rv = CreateInstance(NS_DIRECTORYITERATOR_PROGID, NULL, kDirectoryIteratorIID, getter_AddRefs(dirIterator));
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
rv = dirIterator->Init(dirSpec);
|
||||
rv = dirIterator->Init(dirSpec, PR_TRUE);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
// whip through the directory to register every file
|
||||
|
||||
Reference in New Issue
Block a user