> Hello list,
> hello Chet.
>
> Bug reported on freenode's IRC #bash by: Satgi
>
> There is a crash somewhere in completion (the last commandline is
> completed using TAB):
>
> echo $BASH_VERSION
> 4.1.2(1)-release
> mkdir -p the/?/directory
> ./the/\?/Segmentation fault (core dumped)
This was reported about five weeks ago, and there's a patch in the pipeline.
I've attached a version for the curious; try it out and let me know.
Chet
*** ../bash-4.1-patched/bashline.c 2009-10-24 14:10:19.000000000 -0400
--- bashline.c 2010-01-30 21:53:49.000000000 -0500
***************
*** 1681,1685 ****
characters in the common prefix are bad) will ever be returned on
regular completion. */
! if (glob_pattern_p (hint))
{
if (state == 0)
--- 1681,1685 ----
characters in the common prefix are bad) will ever be returned on
regular completion. */
! if (globpat)
{
if (state == 0)
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/