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:40:36 -0500
User-agent: Mozilla Thunderbird

On 2/20/24 4:51 AM, Grisha Levit wrote:
On Tue, Feb 20, 2024 at 4:35 AM Grisha Levit <grishalevit@gmail.com> 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).

Oh, I guess Readline can just retry reading the file once on EINTR and not
do any signal handling on its own.

Not unreasonable.

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