Changeset 3023
- Timestamp:
- 12/10/2011 00:08:01 (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/bin/bbackupd/BackupClientDirectoryRecord.cpp
r2992 r3023 310 310 // Stat file to get info 311 311 filename = MakeFullPath(rLocalPath, en->d_name); 312 std::string realFileName = ConvertVssPathToRealPath(filename, 313 rBackupLocation); 312 314 313 315 #ifdef WIN32 … … 332 334 333 335 #else // !WIN32 334 335 336 if(EMU_LSTAT(filename.c_str(), &file_st) != 0) 336 337 { … … 409 410 410 411 // Exclude it? 411 if(rParams.mrContext.ExcludeFile( filename))412 if(rParams.mrContext.ExcludeFile(realFileName)) 412 413 { 413 rNotifier.NotifyFileExcluded(this, 414 ConvertVssPathToRealPath(filename, rBackupLocation)); 415 414 rNotifier.NotifyFileExcluded(this, realFileName); 416 415 // Next item! 417 416 continue; … … 426 425 427 426 // Exclude it? 428 if(rParams.mrContext.ExcludeDir( filename))427 if(rParams.mrContext.ExcludeDir(realFileName)) 429 428 { 430 rNotifier.NotifyDirExcluded(this, 431 ConvertVssPathToRealPath(filename, rBackupLocation)); 429 rNotifier.NotifyDirExcluded(this, realFileName); 432 430 433 431 // Next item! … … 442 440 if (en->d_type & FILE_ATTRIBUTE_REPARSE_POINT) 443 441 { 444 rNotifier.NotifyMountPointSkipped(this, 445 ConvertVssPathToRealPath(filename, rBackupLocation)); 442 rNotifier.NotifyMountPointSkipped(this, realFileName); 446 443 continue; 447 444 } … … 451 448 dirs.push_back(std::string(en->d_name)); 452 449 } 453 else 450 else // not a file or directory, what is it? 454 451 { 455 452 if (type == S_IFSOCK … … 462 459 // see Debian bug 479145, no objections 463 460 } 464 else if(rParams.mrContext.ExcludeFile( filename))461 else if(rParams.mrContext.ExcludeFile(realFileName)) 465 462 { 466 rNotifier.NotifyFileExcluded(this, 467 ConvertVssPathToRealPath(filename, rBackupLocation)); 463 rNotifier.NotifyFileExcluded(this, realFileName); 468 464 } 469 465 else 470 466 { 471 rNotifier.NotifyUnsupportedFileType(this, 472 ConvertVssPathToRealPath(filename, rBackupLocation));467 rNotifier.NotifyUnsupportedFileType(this, 468 realFileName); 473 469 SetErrorWhenReadingFilesystemObject(rParams, 474 ConvertVssPathToRealPath(filename, rBackupLocation));470 realFileName); 475 471 } 476 472
Note: See TracChangeset
for help on using the changeset viewer.
