diff options
author | David Corrales | 2007-06-04 22:02:35 +0000 |
---|---|---|
committer | David Corrales | 2007-06-04 22:02:35 +0000 |
commit | fedfe66831ebed2822fe74c86ed59b6d69326f3d (patch) | |
tree | a707ffd1cf4094aef279ffa77a0f6a4f4f98d8bf /backends/fs/posix | |
parent | 3e7c5b027e2131cde30d994ccdb27c77f0118ffe (diff) | |
download | scummvm-rg350-fedfe66831ebed2822fe74c86ed59b6d69326f3d.tar.gz scummvm-rg350-fedfe66831ebed2822fe74c86ed59b6d69326f3d.tar.bz2 scummvm-rg350-fedfe66831ebed2822fe74c86ed59b6d69326f3d.zip |
Added stubs for the exists(), isReadable() and isWritable() methods for all architectures.
svn-id: r27087
Diffstat (limited to 'backends/fs/posix')
-rw-r--r-- | backends/fs/posix/posix-fs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/fs/posix/posix-fs.cpp b/backends/fs/posix/posix-fs.cpp index 712a8ce68d..2e222f34f8 100644 --- a/backends/fs/posix/posix-fs.cpp +++ b/backends/fs/posix/posix-fs.cpp @@ -68,8 +68,8 @@ public: virtual String getPath() const { return _path; } virtual bool isDirectory() const { return _isDirectory; } virtual bool isReadable() const { return access(_path.c_str(), R_OK) == 0; } - virtual bool isWritable() const { return access(_path.c_str(), W_OK) == 0; } virtual bool isValid() const { return _isValid; } + virtual bool isWritable() const { return access(_path.c_str(), W_OK) == 0; } virtual AbstractFilesystemNode *getChild(const String &n) const; virtual bool getChildren(AbstractFSList &list, ListMode mode) const; |