From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:43185) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkRON-0001Ck-Tn for guix-patches@gnu.org; Mon, 08 Jul 2019 07:01:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hkROI-0007fa-Ns for guix-patches@gnu.org; Mon, 08 Jul 2019 07:01:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49126) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hkROI-0007fK-GB for guix-patches@gnu.org; Mon, 08 Jul 2019 07:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hkROI-00008Z-Dv for guix-patches@gnu.org; Mon, 08 Jul 2019 07:01:02 -0400 Subject: [bug#36537] [PATCH] discovery: Handle edge case in scheme-files when looking at symlinks. Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20190707112102.8908-1-mail@cbaines.net> Date: Mon, 08 Jul 2019 12:59:59 +0200 In-Reply-To: <20190707112102.8908-1-mail@cbaines.net> (Christopher Baines's message of "Sun, 7 Jul 2019 12:21:02 +0100") Message-ID: <87a7doeqq8.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Christopher Baines Cc: 36537@debbugs.gnu.org Hi Chris, Christopher Baines skribis: > Previously, this code would cause crashes in Guix (running guix package -= s for > example) which could be experienced when Emacs creates temporary files in= the > gnu/packages/patches directory when a patch file has been edited, but not > saved. > > * guix/discovery.scm (scheme-files): Add else clause to cond used when > handling symlinks. Good catch, LGTM! Thank you, Ludo=E2=80=99.