GNU bug report logs -
#42059
26.3; OpenBSD now has posix_openpt(3)
Previous Next
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
View this message in rfc822 format
30 juni 2020 kl. 15.49 skrev YASUOKA Masahiko <yasuoka <at> yasuoka.net>:
> 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.
Thank you for the detailed explanation, and I think applying your patch will be all right -- 7 years is a long time in the security-conscious OpenBSD world. It would probably need an update to the NEWS file, though.
Eli, do you have any objection to the patch by Yasuoka-san, assuming that it limits the OpenBSD support to version 5.3 or newer?
Presumably the patch would be for Emacs 28, unless there are strong security/reliability reasons for Emacs 27.
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.