GNU bug report logs - #59073
[PATCH] gnu: r-minimal: Avoid referencing /gnu/store/[^-]+-glibc-[^-]+-static.

Previous Next

Package: guix-patches;

Reported by: Christopher Baines <mail <at> cbaines.net>

Date: Sun, 6 Nov 2022 09:07:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #34 received at 59073 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: Christopher Baines <mail <at> cbaines.net>, 59073 <at> debbugs.gnu.org
Subject: Re: [bug#59073] [PATCH] gnu: r-minimal: Avoid referencing
 /gnu/store/[^-]+-glibc-[^-]+-static.
Date: Thu, 10 Nov 2022 15:07:43 +0100
Hi,

zimoun <zimon.toutoune <at> gmail.com> skribis:

>> That said, this code is bogus:
>>
>>   1. We should refrain from using non-literal strings as patterns in
>>      ‘substitute*’.
>
> What does it mean “non-literal string” here?

A string that is not a literal (or constant, if you prefer).

This is OK:

  (substitute* f
    ((".*") …))

This is not:

  (substitute* f
    (((string-append "." (star))) …))

Ludo’.




This bug report was last modified 2 years and 250 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.