Changeset 2712


Ignore:
Timestamp:
27/08/2010 18:26:05 (18 months ago)
Author:
chris
Message:

Don't back up sockets and pipes, thanks to Mick Kappenburg for spotting
that the fix for Debian bug was incorrect. (merges [2693] from trunk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/RELEASE/0.11rc8/bin/bbackupd/BackupClientDirectoryRecord.cpp

    r2663 r2712  
    365365                                        dirs.push_back(std::string(en->d_name)); 
    366366                                } 
    367                                 else if (type == S_IFSOCK || type == S_IFIFO) 
    368                                 { 
    369                                         // removed notification for these types 
    370                                         // see Debian bug 479145, no objections 
    371                                 } 
    372367                                else 
    373368                                { 
    374                                         if(rParams.mrContext.ExcludeFile(filename)) 
     369                                        if (type == S_IFSOCK || type == S_IFIFO) 
     370                                        { 
     371                                                // removed notification for these types 
     372                                                // see Debian bug 479145, no objections 
     373                                        } 
     374                                        else if(rParams.mrContext.ExcludeFile(filename)) 
    375375                                        { 
    376376                                                rNotifier.NotifyFileExcluded( 
Note: See TracChangeset for help on using the changeset viewer.