Changeset 2625 for box/trunk/bin/bbackupquery/BackupQueries.cpp
- Timestamp:
- 21/02/2010 22:09:37 (2 years ago)
- File:
-
- 1 edited
-
box/trunk/bin/bbackupquery/BackupQueries.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/bin/bbackupquery/BackupQueries.cpp
r2602 r2625 1550 1550 localDirEn->d_name); 1551 1551 1552 // Check whether dir is excluded before trying to1553 // stat it, to fix problems with .gvfs directories1554 // that are not readable by root causing compare1555 // to crash:1556 // http://lists.boxbackup.org/pipermail/boxbackup/2010-January/000013.html1557 if(rParams.IsExcludedDir(localDirPath))1558 {1559 rParams.NotifyExcludedDir(localDirPath,1560 storeDirPath);1561 continue;1562 }1563 1564 1552 #ifndef HAVE_VALID_DIRENT_D_TYPE 1565 1553 EMU_STRUCT_STAT st; 1566 1554 if(EMU_LSTAT(localDirPath.c_str(), &st) != 0) 1567 1555 { 1568 THROW_EXCEPTION_MESSAGE(CommonException, 1569 OSFileError, localDirPath); 1556 // Check whether dir is excluded before trying 1557 // to stat it, to fix problems with .gvfs 1558 // directories that are not readable by root 1559 // causing compare to crash: 1560 // http://lists.boxbackup.org/pipermail/boxbackup/2010-January/000013.html 1561 if(rParams.IsExcludedDir(localDirPath)) 1562 { 1563 rParams.NotifyExcludedDir(localDirPath, 1564 storeDirPath); 1565 continue; 1566 } 1567 else 1568 { 1569 THROW_EXCEPTION_MESSAGE(CommonException, 1570 OSFileError, localDirPath); 1571 } 1570 1572 } 1571 1573
Note: See TracChangeset
for help on using the changeset viewer.
