aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/posix
diff options
context:
space:
mode:
authorDavid Corrales2007-06-04 22:02:35 +0000
committerDavid Corrales2007-06-04 22:02:35 +0000
commitfedfe66831ebed2822fe74c86ed59b6d69326f3d (patch)
treea707ffd1cf4094aef279ffa77a0f6a4f4f98d8bf /backends/fs/posix
parent3e7c5b027e2131cde30d994ccdb27c77f0118ffe (diff)
downloadscummvm-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.cpp2
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;