From 6d5a3c9d22999b111de974047194ec59d56aa962 Mon Sep 17 00:00:00 2001 From: Thomas Jentzsch Date: Fri, 3 Dec 2021 16:45:09 +0100 Subject: [PATCH] Revert "fixed" This reverts commit 7056d2df104a0264c454d14ccae129f97090765e. --- src/common/FSNodeZIP.cxx | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/common/FSNodeZIP.cxx b/src/common/FSNodeZIP.cxx index a0412f899..f7720d72e 100644 --- a/src/common/FSNodeZIP.cxx +++ b/src/common/FSNodeZIP.cxx @@ -35,18 +35,6 @@ FilesystemNodeZIP::FilesystemNodeZIP(const string& p) _zipFile = p.substr(0, pos+4); - // Expand '~' to the users 'home' directory - if (_zipFile[0] == '~') - { -#if defined(BSPF_UNIX) || defined(BSPF_MACOS) - string home = BSPF::getenv("HOME"); - if (home != EmptyString) - _zipFile.replace(0, 1, home); -#elif defined(BSPF_WINDOWS) - _zipFile.replace(0, 1, myHomeFinder.getHomePath()); -#endif - } - // Open file at least once to initialize the virtual file count try {