From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 78520 invoked by alias); 4 Mar 2020 10:55:53 -0000 Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: elfutils-devel-owner@sourceware.org Received: (qmail 78155 invoked by uid 89); 4 Mar 2020 10:55:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.100.3 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-6.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy= X-Spam-Status: No, score=-6.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on sourceware.org X-Spam-Level: X-HELO: gnu.wildebeest.org Received: from wildebeest.demon.nl (HELO gnu.wildebeest.org) (212.238.236.112) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 04 Mar 2020 10:55:52 +0000 Received: from tarox.wildebeest.org (tarox.wildebeest.org [172.31.17.39]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id 32972302BB4F; Wed, 4 Mar 2020 11:55:50 +0100 (CET) Received: by tarox.wildebeest.org (Postfix, from userid 1000) id 03F724B70B77; Wed, 4 Mar 2020 11:55:50 +0100 (CET) Message-ID: Subject: Re: [PATCH] debuginfod-client: update cache_path when new default path exists From: Mark Wielaard To: Aaron Merey , elfutils-devel@sourceware.org Date: Wed, 04 Mar 2020 10:55:00 -0000 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Evolution 3.28.5 (3.28.5-5.el7) Mime-Version: 1.0 X-Spam-Flag: NO X-IsSubscribed: yes X-SW-Source: 2020-q1/txt/msg00175.txt Hi Aaron, On Tue, 2020-03-03 at 14:32 -0500, Aaron Merey wrote: > Subject: [PATCH] debuginfod-client: Update cache_path when the new default > path exists >=20 > Update cache_path with the path of the new default directory when this > directory already exists. Previously cache_path was updated only when > creating the new default directory and would otherwise be set to the > old default path. Nice catch and nice testcase. Looks good. Pushed to master. Cheers, Mark