Changeset 2669
- Timestamp:
- 09/03/2010 08:07:24 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
box/RELEASE/0.11rc7/bin/bbackupquery/BackupQueries.cpp
r2663 r2669 1595 1595 localDirEn->d_name); 1596 1596 1597 // Check whether dir is excluded before trying to1598 // stat it, to fix problems with .gvfs directories1599 // that are not readable by root causing compare1600 // to crash:1601 // http://lists.boxbackup.org/pipermail/boxbackup/2010-January/000013.html1602 if(rParams.IsExcludedDir(localDirPath))1603 {1604 rParams.NotifyExcludedDir(localDirPath,1605 storeDirPath);1606 continue;1607 }1608 1609 1597 #ifndef HAVE_VALID_DIRENT_D_TYPE 1610 1598 EMU_STRUCT_STAT st; 1611 1599 if(EMU_LSTAT(localDirPath.c_str(), &st) != 0) 1612 1600 { 1613 THROW_EXCEPTION_MESSAGE(CommonException, 1614 OSFileError, localDirPath); 1601 // Check whether dir is excluded before trying 1602 // to stat it, to fix problems with .gvfs 1603 // directories that are not readable by root 1604 // causing compare to crash: 1605 // http://lists.boxbackup.org/pipermail/boxbackup/2010-January/000013.html 1606 if(rParams.IsExcludedDir(localDirPath)) 1607 { 1608 rParams.NotifyExcludedDir(localDirPath, 1609 storeDirPath); 1610 continue; 1611 } 1612 else 1613 { 1614 THROW_EXCEPTION_MESSAGE(CommonException, 1615 OSFileError, localDirPath); 1616 } 1615 1617 } 1616 1618
Note: See TracChangeset
for help on using the changeset viewer.
