On 5/8/17 4:29 PM, tob...@ryara.net wrote:

> Bash Version: 4.2
> Patch Level: 53
> Release Status: release
> 
> Description:
>         Bash 4.3 introduced "-1" for unlimited history.
> 
>       Starting bash 4.2 with HISTSIZE=-1 in ~/.bashrc causes a segmentation
>       fault (assuming you have a ~/.bash_history with at least one entry).
>       This can easily happen if several systems (with different bash
>         versions) mount the same home directory.

Thanks for the report.  Bash-4.2 was released in 2011, is two versions old,
and is no longer supported.

If you want a workaround that should work in bash-4.2 and bash-4.3, try
using some large number (people have used 9999) for HISTSIZE, giving you
effectively unlimited history.

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