This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Update get_standard_cache_dir for macOS
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Tom Tromey <tom at tromey dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 14 Sep 2018 21:38:48 +0300
- Subject: Re: [PATCH] Update get_standard_cache_dir for macOS
- References: <20180914145938.12186-1-tom@tromey.com>
> From: Tom Tromey <tom@tromey.com>
> Cc: Tom Tromey <tom@tromey.com>
> Date: Fri, 14 Sep 2018 08:59:38 -0600
>
> 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-14 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-14 Tom Tromey <tom@tromey.com>
>
> * gdb.texinfo (Index Files): Update for cache directory change on
> macOS.
OK for the documentation part.
(I thought that "on most systems" is the way to avoid describing what
happens on each system out there, and I don't see why we should be
eager to cater to macOS so much. But that's me.)