X-Envelope-From: notmuch-bounces@notmuchmail.org  Tue Jun 23 18:40:22 2026
Return-Path: <notmuch-bounces@notmuchmail.org>
X-Original-To: nmbug@yantan.tethera.net
Delivered-To: nmbug@yantan.tethera.net
Received: from yantan.tethera.net (localhost [127.0.0.1])
	by mail.notmuchmail.org (Postfix) with ESMTP id 3BEF65F86D;
	Tue, 23 Jun 2026 18:40:22 +0000 (UTC)
Received: from csmtpq1-prd-nl2-vfz.edge.unified.services (csmtpq1-prd-nl2-vfz.edge.unified.services [84.116.73.105])
	by mail.notmuchmail.org (Postfix) with ESMTPS id 4381C5F7F9
	for <notmuch@notmuchmail.org>; Tue, 23 Jun 2026 18:40:19 +0000 (UTC)
Received: from csmtp5-prd-nl2-vfz.nl2.unified.services ([100.105.153.69] helo=csmtp5-prd-nl2-vfz.edge.unified.services)
	by csmtpq1-prd-nl2-vfz.edge.unified.services with esmtp (Exim 4.97)
	(envelope-from <dick@mrns.nl>)
	id 1wc62h-00000002Fgz-3GNq
	for notmuch@notmuchmail.org;
	Tue, 23 Jun 2026 20:40:15 +0200
Received: from routi.mrns.nl ([IPv6:2001:1c00:e7ab:b100::1])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 256/256 bits)
	(Client did not present a certificate)
	by csmtp5-prd-nl2-vfz.edge.unified.services with ESMTPSA
	id c62gwqN5uI3Qlc62gw8CkK; Tue, 23 Jun 2026 20:40:15 +0200
X-Env-Mailfrom: dick@mrns.nl
X-Env-Rcptto: notmuch@notmuchmail.org
X-SourceIP: 2001:1c00:e7ab:b100::1
X-CNFS-Analysis: v=2.4 cv=Ud1hjqSN c=1 sm=1 tr=0 ts=6a3ad30f cx=a_exe
 a=zoMZDlfXL7gFr1RgeGQq5Q==:617 a=xqWC_Br6kY4A:10 a=FelO9ux0wxsA:10
 a=LQrtYbNyCH8A:10 a=hSjKkSsRn876nWI8B24A:9 a=Av7yWsGLcrdQWtvRfR4n:22
X-Authenticated-Sender: ieb1yoh3@ziggo.nl
Received: by routi.mrns.nl (sSMTP sendmail emulation); Tue, 23 Jun 2026 20:40:14 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mrns.nl;
 i=@mrns.nl; q=dns/txt; s=mail; t=1782240014; h=from : to : cc :
 subject : date : message-id : in-reply-to : references : mime-version
 : content-transfer-encoding : from;
 bh=BjN9/vve4P++LNb5wfF82O5G5pwUwc7dHtS6zDFzwR0=;
 b=MfQilqEDu5NM64ja23dDV5h8wPUr0cEfut7QTW4d2Mn67n1QVaMmij1hG4EsMqTqIhBLK
 nTdRFQZloRFyp9UveoJfC/M2o33jNB8GfC+5CHfAGZXeNBVplHWaOBT1jPLSwmU2S+1W/3H
 yjjFNZAyQrQfNzMAkC9fOYS/lG0/pbc=
From: Dick Marinus <dick@mrns.nl>
To: notmuch@notmuchmail.org
Subject: [PATCH 1/2] CLI/reply: use static const for reply_to_map
Date: Tue, 23 Jun 2026 20:40:02 +0200
Message-ID: <20260623184003.4144137-2-dick@mrns.nl>
X-Mailer: git-send-email 2.54.0
In-Reply-To: <20260623184003.4144137-1-dick@mrns.nl>
References: <20260623184003.4144137-1-dick@mrns.nl>
MIME-Version: 1.0
X-CMAE-Envelope: MS4xfEXpUejih6hhQyXWrZqdxmBbnxCfX0EkP8ODzmLABI/b6zYpAZlkgNHYpmYMtlkanxF3I8A+CKu40NHl+nO9pQ/AfYi8DBdLhQXzSPa8VqWo+Df6Ojug
 AoNJoIt9/r1EcFRSgsvACRGEyyPUSI7J5Px/vSTyZ2Lom5eFoCl/Qp6ORDWLXWKI88m+W854CxpiUeHG8ArNhgHHx07cbF2rSLUGAi8OSUlh/tQIujomqsDP
Message-ID-Hash: 3OXNKEITFW4GQJV2XUWC6OPUOEXUKLJ4
X-Message-ID-Hash: 3OXNKEITFW4GQJV2XUWC6OPUOEXUKLJ4
X-MailFrom: dick@mrns.nl
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Dick Marinus <dick@mrns.nl>
X-Mailman-Version: 3.3.3
Precedence: list
List-Id: "Use and development of the notmuch mail system." <notmuch.notmuchmail.org>
List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
List-Owner: <mailto:notmuch-owner@notmuchmail.org>
List-Post: <mailto:notmuch@notmuchmail.org>
List-Subscribe: <mailto:notmuch-join@notmuchmail.org>
List-Unsubscribe: <mailto:notmuch-leave@notmuchmail.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Makes the structure compile-time constant and often stored in
read-only location.

Workaround to a problem with GCC (bugzilla #125252) which causes
a segmentation fault.
---
 notmuch-reply.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/notmuch-reply.c b/notmuch-reply.c
index 44297251d..c72ca227e 100644
--- a/notmuch-reply.c
+++ b/notmuch-reply.c
@@ -329,7 +329,7 @@ add_recipients_from_message (GMimeMessage *reply,
 			     GMimeMessage *message,
 			     bool reply_all)
 {
-    struct {
+    static const struct {
 	InternetAddressList * (*get_header)(GMimeMessage *message);
 	GMimeAddressType recipient_type;
     } reply_to_map[] = {
-- 
2.54.0

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org
