[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "HISTSIZE=999999999" cause bash failure after lastest upgrade
From: |
Chet Ramey |
Subject: |
Re: "HISTSIZE=999999999" cause bash failure after lastest upgrade |
Date: |
Wed, 16 Aug 2017 10:01:52 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
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 chet@case.edu http://cnswww.cns.cwru.edu/~chet/