317345 nsLocalFile(OSX)::IsHidden is broken garbage. Use kFSCatInfoFinderInfo to obtain Finder attributes. r=josh sr=smfr a/1.8.0.1,1.8.1=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_0_BRANCH@186907 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -889,7 +889,7 @@ NS_IMETHODIMP nsLocalFile::IsHidden(PRBool *_retval)
|
||||
|
||||
FSCatalogInfo catalogInfo;
|
||||
HFSUniStr255 leafName;
|
||||
OSErr err = ::FSGetCatalogInfo(&fsRef, kFSCatInfoNodeFlags, &catalogInfo,
|
||||
OSErr err = ::FSGetCatalogInfo(&fsRef, kFSCatInfoFinderInfo, &catalogInfo,
|
||||
&leafName, nsnull, nsnull);
|
||||
if (err != noErr)
|
||||
return MacErrorMapper(err);
|
||||
|
||||
Reference in New Issue
Block a user