On 8/16/17 9:34 AM, Klaas van Schelven wrote:

> 
> I'm on GNU bash, version 4.4.5(1) myself.
And you tested with this version?
> 
> I'm not sure the solution mentioned above is sufficient to solve all
> relevant variant problems caused by the pre-allocation of the memory.

It appears to work with the current version, and should work with 4.4.5,
since it was addressed in patch 1.

$ ./bash --version
GNU bash, version 4.4.12(2)-release (x86_64-unknown-linux-gnu)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$ HISTSIZE=1000000000 ./bash
$ echo $HISTSIZE
1000000000


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