GNU bug report logs - #61297
[PATCH] services: mpd: Fix serialization procedure for list-of-string.

Previous Next

Package: guix-patches;

Reported by: Bruno Victal <mirai <at> makinata.eu>

Date: Sun, 5 Feb 2023 14:52:02 UTC

Severity: normal

Tags: patch

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 61297 in the body.
You can then email your comments to 61297 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to liliana.prikler <at> gmail.com, guix-patches <at> gnu.org:
bug#61297; Package guix-patches. (Sun, 05 Feb 2023 14:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Bruno Victal <mirai <at> makinata.eu>:
New bug report received and forwarded. Copy sent to liliana.prikler <at> gmail.com, guix-patches <at> gnu.org. (Sun, 05 Feb 2023 14:52:02 GMT) Full text and rfc822 format available.

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

From: Bruno Victal <mirai <at> makinata.eu>
To: guix-patches <at> gnu.org
Cc: Bruno Victal <mirai <at> makinata.eu>
Subject: [PATCH] services: mpd: Fix serialization procedure for list-of-string.
Date: Sun,  5 Feb 2023 14:51:19 +0000
* gnu/services/audio.scm (mpd-serialize-list-of-string): Fix serialization procedure.
---
 gnu/services/audio.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/services/audio.scm b/gnu/services/audio.scm
index 630110db2a..d55b804ba9 100644
--- a/gnu/services/audio.scm
+++ b/gnu/services/audio.scm
@@ -160,7 +160,7 @@ (define mpd-serialize-string mpd-serialize-field)
 (define mpd-serialize-boolean mpd-serialize-field)
 
 (define (mpd-serialize-list-of-string field-name value)
-  #~(string-concatenate #$(map (cut mpd-serialize-string field-name <>) value)))
+  #~(string-append #$@(map (cut mpd-serialize-string field-name <>) value)))
 
 (define-maybe string (prefix mpd-))
 (define-maybe list-of-string (prefix mpd-))
-- 
2.38.1





Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Sun, 05 Feb 2023 17:27:02 GMT) Full text and rfc822 format available.

Notification sent to Bruno Victal <mirai <at> makinata.eu>:
bug acknowledged by developer. (Sun, 05 Feb 2023 17:27:02 GMT) Full text and rfc822 format available.

Message #10 received at 61297-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Bruno Victal <mirai <at> makinata.eu>
Cc: 61297-done <at> debbugs.gnu.org, liliana.prikler <at> gmail.com
Subject: Re: [bug#61297] [PATCH] services: mpd: Fix serialization procedure
 for list-of-string.
Date: Sun, 5 Feb 2023 18:26:39 +0100
On Sun, Feb 05, 2023 at 02:51:19PM +0000, Bruno Victal wrote:
> * gnu/services/audio.scm (mpd-serialize-list-of-string): Fix serialization procedure.

Thanks! Pushed as 4b9e1e84585270a40cec485046ce15387405d256




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 06 Mar 2023 12:24:10 GMT) Full text and rfc822 format available.

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

Previous Next


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