Re: BASH 4.2.45(2)-release crashes on Mac OS X 10.9.1 if PS1 contains \w
From:
Chet Ramey
Subject:
Re: BASH 4.2.45(2)-release crashes on Mac OS X 10.9.1 if PS1 contains \w
Date:
Mon, 24 Feb 2014 16:00:08 -0500
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
On 2/24/14 1:47 PM, Mario Grgic wrote:
> BASH 4.2 with patches 1-45 applied still crashes on Mac OS X 10.9.1 if PS1
> contains \w (in my case PS1="\[\033]0;\u@\h :: \w\007\]$” ).
>
> Interestingly enough if I apply patch from
>
>http://lists.gnu.org/archive/html/bug-bash/2013-07/msg00011.html
>
> to BASH 4.2 (without any other patches applied), the crash goes away.
As I said in the follow-up to the message you cited, this is fixed in
bash-4.3 (and the included patch is slightly incorrect).
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/