bug-bash
[Top][All Lists]
Advanced

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

Re: history EINTR bug


From: Chet Ramey
Subject: Re: history EINTR bug
Date: Fri, 13 Feb 2015 08:38:44 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

On 2/12/15 9:06 AM, gregrwm wrote:
> i now suspect bash does not properly handle EINTR while handling history.

Maybe.  There's not enough information here to say.

> this just happened:
> bash: history: write error: Interrupted system call

What command did you use?  Writing the history to stdout is different
from writing to a pipe, which is different from using history -a or
history -w to write to a file.

It's difficult to say more without knowing which signal interrupted
the command.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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