bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash killed by filecompletion feature if filename(s) contain '*' cha


From: Chet Ramey
Subject: Re: bash killed by filecompletion feature if filename(s) contain '*' character
Date: Sat, 30 Jan 2010 22:07:09 -0500
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1

On 1/30/10 4:17 PM, coyote@wariat.org.pl wrote:

> Bash Version: 4.0
> Patch Level: 35
> Release Status: release
> 
> Description:
>       bash died while word completion if filename contains a '*' character
> 
> Repeat-By:
>     touch file\*1
>     touch file\*2
>     chmod +x file*
>     ./file[tab][tab]    

The problem is attempting to recompute already-computed information.
Try the attached patch:

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/

Attachment: complete-quoted-globpat
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]