[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Builtin history -r does not work with named pipes (i.e. GNU readline
From: |
Pranav Deshpande |
Subject: |
Re: Builtin history -r does not work with named pipes (i.e. GNU readline's histfile.c read_history_range) |
Date: |
Tue, 30 May 2017 09:43:02 +0530 |
So I can't take up this one?
Regards,
Pranav
On May 30, 2017 2:35 AM, "Chet Ramey" <chet.ramey@case.edu> wrote:
> On 5/29/17 4:40 PM, dualbus wrote:
> > On Mon, May 29, 2017 at 04:17:16PM -0400, Chet Ramey wrote:
> > [...]
> >> So the bug is that readline doesn't print an error message if the
> history
> >> file isn't a regular file?
> >
> > Correct. Another problem is that the history builtin doesn't propagate
> > back a meaningful return code indicating that there was a problem.
>
> OK, that's an easy fix. It wasn't clear whether this was the problem, or
> whether the original poster was complaining that the lack of support for
> non-regular files was the bug. Thanks.
>
> Chet
>
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
> ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, UTech, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~
> chet/
>