|
From: | Chet Ramey |
Subject: | Re: bash-5.2.9 lib/readline/input.c fix for Tru64 |
Date: | Tue, 15 Nov 2022 10:11:04 -0500 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 |
On 11/14/22 10:01 PM, Koichi Murase wrote:
2022年11月15日(火) 9:04 Henry Bent <henry.r.bent@gmail.com>:In bash-5.2.9 if HAVE_SELECT is set but HAVE_PSELECT is not, we still need the "fd_set readfds;" at line 808 in lib/readline/input.c. Found on Tru64 5.1.This seems to be reported repeatedly for different lines in the source code. https://lists.gnu.org/archive/html/bug-bash/2021-05/msg00088.html https://lists.gnu.org/archive/html/bug-bash/2021-06/msg00160.html I think someone needs to finally check the fixed version actually compiles in a real Tru64 machine. I attach a possible patch [202211-0044.HAVE_PSELECT-in-True64.patch] but haven't tested it in Tru64, so I'm not sure if this is all.
I don't have a Tru64 machine either. Machines that don't have pselect() are becoming increasingly scarce. It should be possible to simulate a machine like this by manually editing config.h after running configure. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
[Prev in Thread] | Current Thread | [Next in Thread] |