< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate-users] Got the exception throw when load the CA on iOS and Android


Hi, we have got an issue with the 1.10.2 with loadCADirectory function, in this function, below exception is throw:

   bool
FileSystem::Directory::iterator::is_directory() const
{
#if HAVE_STRUCT_DIRENT_D_TYPE
   return mDirent->d_type == DT_DIR;
#else
   struct stat s;
   StackLog(<<"calling stat() for " << mDirent->d_name);
   if(stat(mFullFilename.c_str(), &s) < 0)
   {
      ErrLog(<<"Error calling stat() for " << mFullFilename.c_str() << ": " << strerror(errno));
-->      throw Exception("stat() failed", __FILE__, __LINE__);  not catch this exception.
   }
   return S_ISDIR(s.st_mode);
#endif
}

Thanks