This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Update get_standard_cache_dir for macOS


> 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.)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]