From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.bugs Subject: bug#72220: 31.0.50; [PATCH] Use 'unwind-protect' to ensure that Eshell always closes I/O handles Date: Sat, 27 Jul 2024 13:59:25 -0700 Message-ID: References: <96d456ea-0c97-70f0-d270-2870c9aad126@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26309"; mail-complaints-to="usenet@ciao.gmane.io" To: 72220-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 27 23:01:23 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sXoXa-0006j5-OS for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Jul 2024 23:01:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sXoXD-0003yD-FP; Sat, 27 Jul 2024 17:00:59 -0400 Original-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 1sXoX6-0003x2-WF for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2024 17:00:57 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sXoX6-0006xe-FW for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2024 17:00:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:References:From:MIME-Version:Date:To:Subject; bh=2CWIk0pMZpbMPudGJkIvhgZqAiXS/iKrRLvuFUeRMiE=; b=JU0nrbISq4emaNiIKSpGIbO39bnHB3b02ndHuvxcpTJmbcofVFBuZA9LOvGvTsmhwWwwLmVNh5TsEFq7E/kVOM9iBTeOT0DWKzMZ29KOtrbv8EwrGjRkzESPMRb+JRFgyat0nDEl5WoYPGPQulc4MEJ5suu9D5goxD/j0YGItLrnYhDeul5SPj5vefOhqxfXb9gyuYnmBnmuuQMYSCc6ID17Ps3z1MTRm3KdUGW7mpVTr2NpXBPVplBsgaRyaaf4/RltFxvuKH7SeL5QRF7VazjdwcDZmH/n3AEkuW7UFC4Q0RvPC3CKqNmXmpWARmdNwO5y00hQ8CdQ3uikXQ74Ow==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sXoXG-0007iZ-7z for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2024 17:01:02 -0400 Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Jul 2024 21:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 72220 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 72220@debbugs.gnu.org, jporterbugs@gmail.com, jporterbugs@gmail.com Original-Received: via spool by 72220-done@debbugs.gnu.org id=D72220.172211404529627 (code D ref 72220); Sat, 27 Jul 2024 21:01:01 +0000 Original-Received: (at 72220-done) by debbugs.gnu.org; 27 Jul 2024 21:00:45 +0000 Original-Received: from localhost ([127.0.0.1]:42485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXoWz-0007hn-H3 for submit@debbugs.gnu.org; Sat, 27 Jul 2024 17:00:45 -0400 Original-Received: from mail-pg1-f173.google.com ([209.85.215.173]:58780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXoWx-0007hY-8V for 72220-done@debbugs.gnu.org; Sat, 27 Jul 2024 17:00:43 -0400 Original-Received: by mail-pg1-f173.google.com with SMTP id 41be03b00d2f7-7a1215dd114so1513307a12.1 for <72220-done@debbugs.gnu.org>; Sat, 27 Jul 2024 14:00:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722113966; x=1722718766; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:references:to:from :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=2CWIk0pMZpbMPudGJkIvhgZqAiXS/iKrRLvuFUeRMiE=; b=ZQv0bi6C5RCl3q8lo6EVe6v/CaO5hL2mx4LDAVYg1DAQ9OW31o0PzYGpeItMj6AzyT 3fjl/DkrouOkr2P9nxsNAiMckWaMlAh++KJr9PAazsnlBhYZcJqh67gynyd+N7p/G2zy tPdES905fmlxIYklohx9oV63L6d4rMyIkRGSZshkHP6wLMfUHBbNvhAZXCbYSyVaAb7c VgNYJuP50Jp9CntglWDemYw5GevPjpw3qKa8JyNu7+fg5mTahsyreSvh5HE35VXtKe73 PNGsbgMNByosnrES2Kv8bXbOYlbELh1cGjDMjxSpnMmg0TaNJzTOTgR5K7uzxZXNH97+ Dv+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722113966; x=1722718766; h=content-transfer-encoding:in-reply-to:references:to:from :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2CWIk0pMZpbMPudGJkIvhgZqAiXS/iKrRLvuFUeRMiE=; b=rmEGrSlay0TeLlNx0oGY0VUNLqXtxSgnGtYr0YUZCfqzNVnTjWfeNWxe0UJGPQPybr ZE2YSn2gr7iRt3tAr65nVLTmiIK+ydpOZt+Sw0aiIh6+lx4AfH61Zbrahb/e8GpmsXWX zdlUcdrAv5j+bERZrX/hWLSU1ofoU5QsdAyGoH/0NwEkMxx5YlxvOVadLxV8mazCpXjS CXKBLlC81nBHPfKMM7qJnREE28OPEeZYcpb3ayoj+kziXeJb+OlaTAXEJvT6Rt+AGZf/ MmH5VVE2nJesHpGi+uhvzaODFP+30NpZneu9mIjfGhhgLTx7jQZhBkLIkJpu/0sskMTM XB5g== X-Gm-Message-State: AOJu0Yz0Ml52lfZRGnHKte4h3/3RiEViaHm3+FSktABMW+DsPAXfPMfu L5wY4F/gKrvPKwxd0PHuXslI8fAHxSGef2ImO61GB1Sc/g8i7amzpBBY8A== X-Google-Smtp-Source: AGHT+IHSV80ZLflUu9xk7oN5h53X6ub+zcJR+z/koNuONMuAgV55/f6xTOtTj9y7/kkyzv6XV2brcg== X-Received: by 2002:a17:902:e5ca:b0:1fd:9e6e:7c1f with SMTP id d9443c01a7336-1ff048df06amr42807095ad.56.1722113966431; Sat, 27 Jul 2024 13:59:26 -0700 (PDT) Original-Received: from [192.168.1.2] (syn-023-240-098-037.res.spectrum.com. [23.240.98.37]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-1fed7ee6aedsm54825205ad.158.2024.07.27.13.59.25 for <72220-done@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 27 Jul 2024 13:59:26 -0700 (PDT) Content-Language: en-US In-Reply-To: <96d456ea-0c97-70f0-d270-2870c9aad126@gmail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:289447 Archived-At: On 7/20/2024 4:13 PM, Jim Porter wrote: > Luckily, thanks to the previous work here, we have a thorough suite of > regression tests, which made developing this patch a lot easier. This > also fixes some remaining issues with I/O handles (see the new > regression test). I've now merged this to the master branch as 50339b38fde. Closing this bug.