Updated filesystem traversal code to skip files/devices that don't
support attributes. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1325 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -14,6 +14,9 @@
|
||||
#include <RegistrarThread.h>
|
||||
#include <SupportDefs.h>
|
||||
|
||||
#include <list>
|
||||
#include <pair.h>
|
||||
|
||||
struct entry_ref;
|
||||
class BMessage;
|
||||
|
||||
@@ -37,8 +40,12 @@ protected:
|
||||
const bool fRecursive;
|
||||
const bool fForce;
|
||||
BMessage *fReplyee;
|
||||
|
||||
bool DeviceSupportsAttributes(dev_t device);
|
||||
|
||||
private:
|
||||
std::list< std::pair<dev_t, bool> > fAttributeSupportList;
|
||||
|
||||
status_t UpdateEntry(const entry_ref *ref);
|
||||
|
||||
status_t fStatus;
|
||||
|
||||
Reference in New Issue
Block a user