git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36089
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
UInt32 fetched = 0;
err = FSGetCatalogInfoBulk( m_iterator, 1, &fetched, NULL, kFSCatInfoNodeFlags | kFSCatInfoFinderInfo , &catalogInfo , &fileRef, NULL, &uniname );
UInt32 fetched = 0;
err = FSGetCatalogInfoBulk( m_iterator, 1, &fetched, NULL, kFSCatInfoNodeFlags | kFSCatInfoFinderInfo , &catalogInfo , &fileRef, NULL, &uniname );
+
+ // expected error codes
+
if ( errFSNoMoreItems == err )
return false ;
if ( errFSNoMoreItems == err )
return false ;
-
- wxASSERT( noErr == err ) ;
+ if ( afpAccessDenied == err )
+ return false ;
if ( noErr != err )
break ;
if ( noErr != err )
break ;