On 5/23/17 11:32 AM, Eduardo Bustamante wrote:
> (I think this is a good problem for Pranav to tackle if you consider
> this to be a bug, Chet).
> 
> The problem is that fstat(2) will return an st_size of 0 if the file
> is non-regular. I think that the easiest path here is to goto
> `error_and_exit' if `file' is not a regular file (and perhaps print a
> useful error message?).

So the bug is that readline doesn't print an error message if the history
file isn't a regular file?

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

Reply via email to