Segmentation fault after fc command in bash script

2011-04-17 Thread pi...@piumalab.org
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' - -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-redhat-linux-gnu' - -DCO

Re: Segmentation fault after fc command in bash script

2011-04-21 Thread pi...@piumalab.org
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19/04/2011 22:11, Chet Ramey wrote: > The problem has to do with bad calculations of the last history entry. > I've attached patches for bash-4.1 and bash-4.2. Please let me know if > they fix the problem; they seem to fix it for me. > > Chet Hel