From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: YASUOKA Masahiko Newsgroups: gmane.emacs.bugs Subject: bug#42059: 26.3; OpenBSD now has posix_openpt(3) Date: Tue, 30 Jun 2020 22:49:29 +0900 (JST) Message-ID: <20200630.224929.476624940263769257.yasuoka@yasuoka.net> References: <741D1A84-A15F-4D9E-B284-8526ECB39BA2@acm.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5461"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 42059@debbugs.gnu.org To: mattiase@acm.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 30 18:42:45 2020 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 1jqIwx-0008j6-Qr for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 Jun 2020 18:17:35 +0200 Original-Received: from localhost ([::1]:54848 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jqGiQ-0002J7-Ap for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 Jun 2020 09:54:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jqGeA-0003lx-MT for bug-gnu-emacs@gnu.org; Tue, 30 Jun 2020 09:50:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38921) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jqGeA-0008KY-BT for bug-gnu-emacs@gnu.org; Tue, 30 Jun 2020 09:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jqGeA-0001sR-8D for bug-gnu-emacs@gnu.org; Tue, 30 Jun 2020 09:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: YASUOKA Masahiko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Jun 2020 13:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42059 X-GNU-PR-Package: emacs Original-Received: via spool by 42059-submit@debbugs.gnu.org id=B42059.15935249817181 (code B ref 42059); Tue, 30 Jun 2020 13:50:02 +0000 Original-Received: (at 42059) by debbugs.gnu.org; 30 Jun 2020 13:49:41 +0000 Original-Received: from localhost ([127.0.0.1]:50467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jqGdp-0001rk-2g for submit@debbugs.gnu.org; Tue, 30 Jun 2020 09:49:41 -0400 Original-Received: from s247156.ppp.asahi-net.or.jp ([220.157.247.156]:62086) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jqGdl-0001rZ-Ku for 42059@debbugs.gnu.org; Tue, 30 Jun 2020 09:49:39 -0400 Original-Received: by mail.2ndsoft.com (OpenSMTPD) with ESMTP id 58eb0a50; Tue, 30 Jun 2020 22:49:33 +0900 (JST) In-Reply-To: <741D1A84-A15F-4D9E-B284-8526ECB39BA2@acm.org> X-Mailer: Mew version 6.8 on Emacs 26.3 X-Spam-Score: 0.4 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -0.6 (/) 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" Xref: news.gmane.io gmane.emacs.bugs:182568 Archived-At: On Tue, 30 Jun 2020 13:52:21 +0200 Mattias Engdeg=E5rd wrote: > Thanks for the patch! I'd be happy to apply it, but first: can you > confirm that older OpenBSD versions are still able to build Emacs wit= h > that patch applied, or argue that this is a lesser problem? Although old versions might become not able to build Emacs with the patch, I suggest Emacs should have the patch. Firstly the versions are too old. posix_openpt(3) had been introduced to OpenBSD at OpenBSD 5.3, it was 7 years ago and 14 versions before the latest. It was 6 years ago when the last version which doesn't have posix_openpt(3) became out of support. Secondly the old way the old versions is using has another problem. It caused an error when emacs opens some ptys. To solve this problem, in any case, people need to use newer OpenBSD and newer Emacs. Thanks,