aboutsummaryrefslogtreecommitdiff
path: root/src/util/system.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-10-16 18:32:43 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-10-27 21:46:00 +0200
commitad5cef5dfdd5802fc187a52e74d940a52f420a51 (patch)
treefc88d021bd7af337e2fdd5a96e3d01ad17863a0f /src/util/system.cpp
parentb19e88230f0e93e95e883e65376963cb9c36f606 (diff)
doc: Update data directory path comments
Diffstat (limited to 'src/util/system.cpp')
-rw-r--r--src/util/system.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/util/system.cpp b/src/util/system.cpp
index 7754ef3e01..a3f21f0162 100644
--- a/src/util/system.cpp
+++ b/src/util/system.cpp
@@ -642,10 +642,9 @@ void PrintExceptionContinue(const std::exception* pex, const char* pszThread)
fs::path GetDefaultDataDir()
{
- // Windows < Vista: C:\Documents and Settings\Username\Application Data\Bitcoin
- // Windows >= Vista: C:\Users\Username\AppData\Roaming\Bitcoin
- // Mac: ~/Library/Application Support/Bitcoin
- // Unix: ~/.bitcoin
+ // Windows: C:\Users\Username\AppData\Roaming\Bitcoin
+ // macOS: ~/Library/Application Support/Bitcoin
+ // Unix-like: ~/.bitcoin
#ifdef WIN32
// Windows
return GetSpecialFolderPath(CSIDL_APPDATA) / "Bitcoin";
@@ -657,10 +656,10 @@ fs::path GetDefaultDataDir()
else
pathRet = fs::path(pszHome);
#ifdef MAC_OSX
- // Mac
+ // macOS
return pathRet / "Library/Application Support/Bitcoin";
#else
- // Unix
+ // Unix-like
return pathRet / ".bitcoin";
#endif
#endif