GNU bug report logs - #42059
26.3; OpenBSD now has posix_openpt(3)

Previous Next

Package: emacs;

Reported by: YASUOKA Masahiko <yasuoka <at> yasuoka.net>

Date: Fri, 26 Jun 2020 13:42:01 UTC

Severity: normal

Found in version 26.3

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: YASUOKA Masahiko <yasuoka <at> yasuoka.net>
To: mattiase <at> acm.org
Cc: 42059 <at> debbugs.gnu.org
Subject: Re: bug#42059: 26.3; OpenBSD now has posix_openpt(3)
Date: Tue, 30 Jun 2020 22:49:29 +0900 (JST)
On Tue, 30 Jun 2020 13:52:21 +0200
Mattias EngdegÄrd <mattiase <at> acm.org> 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 with
> 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,




This bug report was last modified 4 years and 321 days ago.

Previous Next


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