Changeset 2661 for box/RELEASE/0.11rc7/bin/bbackupquery/BackupQueries.cpp
- Timestamp:
- 08/03/2010 21:35:19 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
box/RELEASE/0.11rc7/bin/bbackupquery/BackupQueries.cpp
r2465 r2661 1545 1545 } 1546 1546 1547 std::string localDirPath(MakeFullPath(rLocalDir, 1548 localDirEn->d_name)); 1549 std::string storeDirPath(rStoreDir + "/" + 1550 localDirEn->d_name); 1551 1552 // Check whether dir is excluded before trying to 1553 // stat it, to fix problems with .gvfs directories 1554 // that are not readable by root causing compare 1555 // to crash: 1556 // http://lists.boxbackup.org/pipermail/boxbackup/2010-January/000013.html 1557 if(rParams.IsExcludedDir(localDirPath)) 1558 { 1559 rParams.NotifyExcludedDir(localDirPath, 1560 storeDirPath); 1561 continue; 1562 } 1563 1547 1564 #ifndef HAVE_VALID_DIRENT_D_TYPE 1548 std::string fn(MakeFullPath1549 (rLocalDir, localDirEn->d_name));1550 1565 EMU_STRUCT_STAT st; 1551 if(EMU_LSTAT(fn.c_str(), &st) != 0) 1552 { 1553 THROW_EXCEPTION(CommonException, OSFileError) 1566 if(EMU_LSTAT(localDirPath.c_str(), &st) != 0) 1567 { 1568 THROW_EXCEPTION_MESSAGE(CommonException, 1569 OSFileError, localDirPath); 1554 1570 } 1555 1571
Note: See TracChangeset
for help on using the changeset viewer.
