Changeset 2661
- Timestamp:
- 08/03/2010 21:35:19 (2 years ago)
- Location:
- box/RELEASE/0.11rc7
- Files:
-
- 2 edited
-
bin/bbackupquery/BackupQueries.cpp (modified) (1 diff)
-
lib/common/Box.h (modified) (1 diff)
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 -
box/RELEASE/0.11rc7/lib/common/Box.h
r2544 r2661 120 120 OPTIONAL_DO_BACKTRACE \ 121 121 BOX_WARNING("Exception thrown: " \ 122 #type "(" #subtype ") (" message ") at "\123 __FILE__ "(" << __LINE__ << ")") \122 #type "(" #subtype ") (" << message << \ 123 ") at " __FILE__ "(" << __LINE__ << ")") \ 124 124 } \ 125 125 throw type(type::subtype, message); \
Note: See TracChangeset
for help on using the changeset viewer.
