From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 64489 invoked by alias); 14 Sep 2018 18:39:11 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 64474 invoked by uid 89); 14 Sep 2018 18:39:10 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:864, cater X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (208.118.235.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 14 Sep 2018 18:39:09 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g0szd-00053K-4l for gdb-patches@sourceware.org; Fri, 14 Sep 2018 14:39:05 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52101) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0sza-000529-1a; Fri, 14 Sep 2018 14:38:58 -0400 Received: from [176.228.60.248] (port=1518 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1g0szZ-0000Cf-LH; Fri, 14 Sep 2018 14:38:57 -0400 Date: Fri, 14 Sep 2018 18:39:00 -0000 Message-Id: <83ftybkjpj.fsf@gnu.org> From: Eli Zaretskii To: Tom Tromey CC: gdb-patches@sourceware.org In-reply-to: <20180914145938.12186-1-tom@tromey.com> (message from Tom Tromey on Fri, 14 Sep 2018 08:59:38 -0600) Subject: Re: [PATCH] Update get_standard_cache_dir for macOS References: <20180914145938.12186-1-tom@tromey.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-IsSubscribed: yes X-SW-Source: 2018-09/txt/msg00459.txt.bz2 > From: Tom Tromey > Cc: Tom Tromey > 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 > > * 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 > > * 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.)