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:
Tyler Dauwalder
2002-10-01 07:26:11 +00:00
parent ef3fb6465d
commit 09dad369d7
2 changed files with 94 additions and 29 deletions
@@ -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;