|
From: | Roman Rakus |
Subject: | Re: Infinite loop in globbing |
Date: | Mon, 14 Mar 2011 15:53:14 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Thunderbird/3.1.7 |
On 03/14/2011 02:59 PM, Greg Wooledge wrote:
Just need to set some utf8 locales (I guess, tried and using en_US.UTF-8). It doesn't matter if the file exists.On Mon, Mar 14, 2011 at 10:00:14AM +0100, Roman Rakus wrote:$ locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= $ echo $BASH_VERSION 4.2.7(1)-release $ [$'\xFD'$'\xBA'] ^C The bash 4.2 is in infinite loop. The bash 4.1 work well.Can you give more details about the setup here? Does the glob match any files or not?
In a NON-utf8 locale, with no matching files, I get: imadev:~$ [$'\xFD'$'\xBA'] bash: [ýº]: command not found
The same here. NON-utf8 locale working. bash-4.1 working also with utf8.bash-4.2 get stuck in xdupmbstowcs2() static function in do-while loop. I know nearly nothing about wide chars so I don't know what is bad here.
Hopefully it helps. RR
[Prev in Thread] | Current Thread | [Next in Thread] |