From 598dba9d17838e92f89bcd3ec78c69cc4ce50044 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 6 Feb 2008 21:49:14 +0000 Subject: minor cleanups --- src/filesystem/file.cc | 2 +- src/filesystem/path.cc | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'src/filesystem') diff --git a/src/filesystem/file.cc b/src/filesystem/file.cc index 1203d5a..f05e60c 100644 --- a/src/filesystem/file.cc +++ b/src/filesystem/file.cc @@ -69,5 +69,5 @@ void File::open(const char * filename, ios_base::openmode mode) { } } -} // namespace common +} // namespace filesystem 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; } -- cgit v1.2.3