From unknown Wed Jun 18 23:11:33 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#78602 <78602@debbugs.gnu.org> To: bug#78602 <78602@debbugs.gnu.org> Subject: Status: [PATCH] * src/igc.c (root_create_terminal_list): Create exact root Reply-To: bug#78602 <78602@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:11:33 +0000 retitle 78602 [PATCH] * src/igc.c (root_create_terminal_list): Create exact= root reassign 78602 emacs submitter 78602 Helmut Eller severity 78602 normal tag 78602 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue May 27 03:39:14 2025 Received: (at submit) by debbugs.gnu.org; 27 May 2025 07:39:14 +0000 Received: from localhost ([127.0.0.1]:37518 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uJou2-0003Do-3w for submit@debbugs.gnu.org; Tue, 27 May 2025 03:39:14 -0400 Received: from lists.gnu.org ([2001:470:142::17]:45040) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uJoty-0003CY-PC for submit@debbugs.gnu.org; Tue, 27 May 2025 03:39:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uJoto-0003wU-Dn for bug-gnu-emacs@gnu.org; Tue, 27 May 2025 03:39:00 -0400 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uJotm-0007o0-MW for bug-gnu-emacs@gnu.org; Tue, 27 May 2025 03:39:00 -0400 Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-ad1a87d93f7so483076466b.0 for ; Tue, 27 May 2025 00:38:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1748331537; x=1748936337; darn=gnu.org; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=Yq29rYaXuCyGlR/waKbJMbT3PfhZIPlAkrJPCJkL8r8=; b=Sju19ygbkBAOevqB315LYQAzTtU0qKjYfy2BTFZexXC4ojTy+6mZMPgS6ZR+ys6MQE mcAXeu8V+t++j392GHJJDkP6W366XlwzM1ILXCJv9TTxpXLEnZQrbnmybarVPjwbn4gn NCMSJ43IA4mTDpQ00AEwLqMytb97aqZ0ZYCVl9biYHtScgcxFhZTGkKAyqqEvKhqbwmG jQQk7SWY+xPPJIQ4mLRS9yJQysOzuTvbWmCDLZS3Ta0nllxGMkU3ZW7QR1Syogb+7O0K uu8QfAnVI03Bxr4FJ+eReSTgs8DdDdIyq7XBIkDFmDa/GOQvyg954YQ17Xfc2lhC2mek JRqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748331537; x=1748936337; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Yq29rYaXuCyGlR/waKbJMbT3PfhZIPlAkrJPCJkL8r8=; b=u2jJL4Eo0srazgGtXTDjSwCE3CDGzXX7+yvh5dbzBn1rOoZ3emez0RA14lI8Olh7LJ LuI8VEY6y7JwIc2+4TwC2BMvgZaQRiUmwFPrzmOssp/F6RsF5Bvc9BgpS6zjrvu6PtYX K8EJjFm8e+LclRitnWkP61AsTY0rRsjcj3xE9uhEufZ9gTMuXQWNa5gdFK+1PSwQzDW5 9GRZCHxiD+2TI/e3rK9QuThXFw8E+uvYDvGkKCz5+ul9s/zae2kDyHOxoLcM1s1TI4Iw QcZzXHoWB8dcXWH9EEI5MP2LegBsu0oMxXfPcB2Gd7DKhxQKpsOzte4Dzlrmr92jrFWS TpBw== X-Gm-Message-State: AOJu0YxejRALkVRbvzVurSwJmVnNLTNl8i/5vUgBJXZF42NsfTciUGqp P1TCnezGERGSogxZJNuUxx5vH5U7oJzhQ0oW6Fe+K2LYyGRfWZLYCObagLf0bQ== X-Gm-Gg: ASbGncuTp8vrRMVoFOXsAg6A3+7MY88LKcOUY4EE2j2CHFZN5GYgWleSWeQEiXEH155 kH4FaLb25j09JkYon03v3J4Kj0DuV/9tARJ7aGL4CcEofxr4Zz8L9BgBXetDNZijfc/Gp9Qvr7a 1o0Noa/+E81aOGInrnJhaDhMbJm0nXkMWDahPcpZ+NJuJVvbgtBaCaApjFlk59VVmDOZn7SliO6 U+XdNn7FjlTS7xDmU5Uqg4DOz0/7/dmyDLhZeoUZk3XcU31ET7scu2y1Bbec4xJ45Iifj0H3c4e MJh7gEHbFn0mymwDvU/hTKuXws6wXCe5g6YYVxuOt0EcGpGJ X-Google-Smtp-Source: AGHT+IGafGyadHtLICcWst8Y0ztfCNlFLx/Ga7sXEXNpIwLy1ydm+rBN5NQUDBKWhr3SlBf0oOWTTw== X-Received: by 2002:a17:907:96a2:b0:ad8:9257:573d with SMTP id a640c23a62f3a-ad8925758b4mr74717066b.24.1748331536561; Tue, 27 May 2025 00:38:56 -0700 (PDT) Received: from caladan ([89.107.110.32]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-604be9d8ca6sm2152411a12.79.2025.05.27.00.38.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 May 2025 00:38:56 -0700 (PDT) From: Helmut Eller To: bug-gnu-emacs@gnu.org Subject: [PATCH] * src/igc.c (root_create_terminal_list): Create exact root Date: Tue, 27 May 2025 09:38:55 +0200 Message-ID: <874ix6mrjk.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::630; envelope-from=eller.helmut@gmail.com; helo=mail-ej1-x630.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain It seems that terminal_list doesn't need to be an ambiguous root. --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-src-igc.c-root_create_terminal_list-Create-an-exact-.patch >From 823772e24d770ae04068ce6812a9e113551a13be Mon Sep 17 00:00:00 2001 From: Helmut Eller Date: Tue, 27 May 2025 08:30:48 +0200 Subject: [PATCH] * src/igc.c (root_create_terminal_list): Create an exact root. --- src/igc.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/igc.c b/src/igc.c index 6a34610533b..9c3c8e82758 100644 --- a/src/igc.c +++ b/src/igc.c @@ -2891,14 +2891,6 @@ root_create_buffer (struct igc *gc, struct buffer *b) root_create_ambig (gc, start, end, "buffer"); } -static void -root_create_terminal_list (struct igc *gc) -{ - void *start = &terminal_list; - void *end = (char *) start + sizeof (terminal_list); - root_create_ambig (gc, start, end, "terminal-list"); -} - static void root_create_tty_list (struct igc *gc) { @@ -2942,6 +2934,12 @@ igc_root_create_exact_ptr (void *var_addr) root_create_exact_ptr (global_igc, var_addr); } +static void +root_create_terminal_list (struct igc *gc) +{ + root_create_exact_ptr (gc, &terminal_list); +} + static void root_create_specpdl (struct igc_thread_list *t) { -- 2.39.5 --=-=-=--