From fff3100f17b0b96253c4c6c32854aae0fc675223 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Tue, 1 Dec 2015 17:06:39 -1000 Subject: [PATCH] OS X now using POSIX-style file store --- hecl/extern/libBoo | 2 +- hecl/lib/Runtime/FileStoreManager.cpp | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/hecl/extern/libBoo b/hecl/extern/libBoo index c34b93f00..cd4df5cb2 160000 --- a/hecl/extern/libBoo +++ b/hecl/extern/libBoo @@ -1 +1 @@ -Subproject commit c34b93f00f3da9811b91e1850ac21ff7de962dcc +Subproject commit cd4df5cb270be177740bd6ab1fed60f68481002b diff --git a/hecl/lib/Runtime/FileStoreManager.cpp b/hecl/lib/Runtime/FileStoreManager.cpp index 821b2af5d..9bd225183 100644 --- a/hecl/lib/Runtime/FileStoreManager.cpp +++ b/hecl/lib/Runtime/FileStoreManager.cpp @@ -27,18 +27,6 @@ FileStoreManager::FileStoreManager(const SystemString& domain) HECL::MakeDir(path.c_str()); m_storeRoot = path; -#elif __APPLE__ - const char* home = getenv("HOME"); - if (!home) - Log.report(LogVisor::FatalError, "unable to locate $HOME for file store"); - std::string path(home); - path += "/Library/Application Support/HECL Runtime"; - if (mkdir(path.c_str(), 0755) && errno != EEXIST) - Log.report(LogVisor::FatalError, "unable to mkdir at %s", path.c_str()); - path += '/' + domain; - if (mkdir(path.c_str(), 0755) && errno != EEXIST) - Log.report(LogVisor::FatalError, "unable to mkdir at %s", path.c_str()); - m_storeRoot = path; #else const char* home = getenv("HOME"); if (!home)