On 12/29/24 8:07 AM, Eli Zaretskii wrote:
Hi,In this message several months ago: https://lists.gnu.org/archive/html/bug-readline/2024-07/msg00006.html I reported a problem compiling Readline 8.2 with MinGW, due to the lack of the 'alarm' function. I have now built the GDB-16.0.90 pretest, which includes Readline 8.2 with the solution suggested by Tom Tromey, see https://lists.gnu.org/archive/html/bug-readline/2024-11/msg00007.html However, that solution doesn't work with mingw.org's MinGW (it doesn't support __USE_MINGW_ALARM), so I still need a trivial implementationfor 'alarm' to compile input.c.
Readline-8.3-beta provides that stub implementation of alarm(3).
you say that "I have reports that alarm() doesn't work on mingw at all, so the current version doesn't try to support timeouts on mingw".
The current version solves this by providing a stub version of alarm(3) that does nothing, so you can use the functions but they don't have any effect. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature