diff options
author | Sean Silva <chisophugis@gmail.com> | 2016-03-24 22:27:27 +0000 |
---|---|---|
committer | Sean Silva <chisophugis@gmail.com> | 2016-03-24 22:27:27 +0000 |
commit | a915a1690e7d96a461ec29bed3ce243e2408f43d (patch) | |
tree | 8da314536ac439a893c3fe1d92bc93aa9d04bcdd /llvm/lib/Support | |
parent | c5273d929f54f9499d1cdea6e3112d6cdf9b18b1 (diff) | |
download | bcm5719-llvm-a915a1690e7d96a461ec29bed3ce243e2408f43d.tar.gz bcm5719-llvm-a915a1690e7d96a461ec29bed3ce243e2408f43d.zip |
Fix typo: XDS -> XDG
Patch by Robert Ma <bob1211@gmail.com>!
llvm-svn: 264352
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r-- | llvm/lib/Support/Unix/Path.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Support/Unix/Path.inc b/llvm/lib/Support/Unix/Path.inc index d85c37ab3bf..d5a31ca000c 100644 --- a/llvm/lib/Support/Unix/Path.inc +++ b/llvm/lib/Support/Unix/Path.inc @@ -586,12 +586,12 @@ static bool getDarwinConfDir(bool TempDir, SmallVectorImpl<char> &Result) { } static bool getUserCacheDir(SmallVectorImpl<char> &Result) { - // First try using XDS_CACHE_HOME env variable, + // First try using XDG_CACHE_HOME env variable, // as specified in XDG Base Directory Specification at // http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html - if (const char *XdsCacheDir = std::getenv("XDS_CACHE_HOME")) { + if (const char *XdgCacheDir = std::getenv("XDG_CACHE_HOME")) { Result.clear(); - Result.append(XdsCacheDir, XdsCacheDir + strlen(XdsCacheDir)); + Result.append(XdgCacheDir, XdgCacheDir + strlen(XdgCacheDir)); return true; } |