Bug 56779 - dangling symlinks cause remainder of directory to not show up in filepicker. r=rjc, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@81650 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
59afd74cdf
commit
99e427855b
@ -1264,9 +1264,8 @@ FileSystemDataSource::GetFolderList(nsIRDFResource *source, PRBool allowHidden,
|
||||
fullURI.Append(leaf);
|
||||
|
||||
PRBool dirFlag = PR_FALSE;
|
||||
if (NS_FAILED(rv = aFile->IsDirectory(&dirFlag)))
|
||||
break;
|
||||
if (dirFlag == PR_TRUE)
|
||||
rv = aFile->IsDirectory(&dirFlag);
|
||||
if (NS_SUCCEEDED(rv) && (dirFlag == PR_TRUE))
|
||||
{
|
||||
// XXX hmmm, causes problems getting name,
|
||||
// so comment it out for the short term
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user