Update get_standard_cache_dir for macOS
authorTom Tromey <tom@tromey.com>
Fri, 14 Sep 2018 14:48:22 +0000 (08:48 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 17 Sep 2018 14:43:12 +0000 (08:43 -0600)
commite6cd1dc1e6c0d081382ee21c156b205204efc75b
tree38f09c61ca5b3db2557cf6a7caa2e14d23efccc1
parentc12d9fa2afe7abcbe407a00e15719e1a1350c2a7
Update get_standard_cache_dir for macOS

On macOS the usual cache directory is ~/Library/Caches.  This patch
changes get_standard_cache_dir to use that instead of XDG.

gdb/ChangeLog
2018-09-17  Tom Tromey  <tom@tromey.com>

* common/pathstuff.c (get_standard_cache_dir): Use
~/Library/Caches on macOS.
* common/pathstuff.h (get_standard_cache_dir): Update comment.

gdb/doc/ChangeLog
2018-09-17  Tom Tromey  <tom@tromey.com>

* gdb.texinfo (Index Files): Update for cache directory change on
macOS.
gdb/ChangeLog
gdb/common/pathstuff.c
gdb/common/pathstuff.h
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
This page took 0.02631 seconds and 4 git commands to generate.