bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] retry opening startup files on EINTR


From: Chet Ramey
Subject: Re: [PATCH] retry opening startup files on EINTR
Date: Tue, 20 Feb 2024 16:50:32 -0500
User-agent: Mozilla Thunderbird

On 2/20/24 4:35 AM, Grisha Levit wrote:

Though a similar test shows that the Readline part of the patch is wrong,
and I'm not sure how to solve it, at least without changing existing
applications' behavior (and requiring signal setup to happen before
rl_initialize or rl_read_init_file are called).

It can still call RL_CHECK_SIGNALS on EINTR, since that function can be
called after the signal handlers are installed, in addition to retrying
once.

--
``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/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]