diff options
author | Stijn Buys <ingar@osirion.org> | 2008-02-06 21:49:14 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-02-06 21:49:14 +0000 |
commit | 598dba9d17838e92f89bcd3ec78c69cc4ce50044 (patch) | |
tree | 08a818d6f4dc6a605baa8ddced6165b7bc72ba1f /src/filesystem/path.cc | |
parent | 884667848ecf043dd2d8c5421250c88931151bd1 (diff) |
minor cleanups
Diffstat (limited to 'src/filesystem/path.cc')
-rw-r--r-- | src/filesystem/path.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/filesystem/path.cc b/src/filesystem/path.cc index 44423b0..096825c 100644 --- a/src/filesystem/path.cc +++ b/src/filesystem/path.cc @@ -18,13 +18,15 @@ void Path::create(std::string path) tmp = tmp.substr(0, tmp.size() - 1); if (!sys::mkdir(tmp.c_str())) - con_warn << "could not create directory " << tmp << std::endl; + // FIXME check error value + con_warn << "Could not create directory " << tmp << std::endl; else - con_debug << "directory created " << tmp << std::endl; + con_debug << "Directory created " << tmp << std::endl; } bool Path::exists(std::string path) { + // FIXME make it work return false; } |