On 6/15/21 3:50 PM, Sibo Dong wrote:
Hello,
Running the fc builtin on an empty history list results in a
segmentation fault from bash.
Thanks for the report.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ra
Hello,
Running the fc builtin on an empty history list results in a
segmentation fault from bash.
Additional info:
* Operating system: Arch Linux
* Architecture: x86_64
* bash version: 5.1.8(1)-release
Steps to reproduce:
$ bash --noprofile --norc
$ HISTCONTROL=ignorespace
$ history -c
$
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -
DDEFAULT_PATH_VALUE='/usr/local/sbin:/usr/local/bin:/usr/bin' -
DSTANDARD_UTILS_PATH='/usr/bin' -DSYS_BASHRC='/etc/ba