[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Savannah-users] grep -F causes infinite loop
From: |
Bob Proulx |
Subject: |
Re: [Savannah-users] grep -F causes infinite loop |
Date: |
Thu, 25 Apr 2013 14:49:57 -0600 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
GOTO, Daisuke wrote:
> grep -F causes infinite loop in a text which LOCALE differ.
> (LOCALE is a ja_JP.UTF-8, and text is a SJIS)
>
> It did not occur with an old version(GNU grep 2.6.1 or before).
> Moreover, also when there is no LOCALE, it does not occur.
You have reached the mailing list for people who use Savannah.
Savannah is the software forge for people committed to free software.
The web site, the version control hosting, and so forth.
But you are asking about the grep project. We don't know too much
about specific projects here. It would be better to look at the
project and see what it says about where to get help.
I suggest you report your bug report to the address@hidden mailing
list. That is the development community for it.
Thanks,
Bob
> It is reproducible in the following environments:
>
> # uname -a
> Linux myServer 2.6.32-279.19.1.el6.x86_64 #1 SMP Wed Dec 19 07:05:20 UTC 2012
> x86_64 x86_64 x86_64 GNU/Linux
>
> # cat /etc/redhat-release
> CentOS release 6.3 (Final)
>
> # grep -V
> GNU grep 2.6.3
>
> Copyright (C) 2009 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
> # locale
> LANG=ja_JP.UTF-8
> LC_CTYPE="ja_JP.UTF-8"
> LC_NUMERIC="ja_JP.UTF-8"
> LC_TIME="ja_JP.UTF-8"
> LC_COLLATE="ja_JP.UTF-8"
> LC_MONETARY="ja_JP.UTF-8"
> LC_MESSAGES="ja_JP.UTF-8"
> LC_PAPER="ja_JP.UTF-8"
> LC_NAME="ja_JP.UTF-8"
> LC_ADDRESS="ja_JP.UTF-8"
> LC_TELEPHONE="ja_JP.UTF-8"
> LC_MEASUREMENT="ja_JP.UTF-8"
> LC_IDENTIFICATION="ja_JP.UTF-8"
> LC_ALL=
>
> # printf '\202\240\202\240' | grep -F $'\202\240'
>
> (infinite loop...)
>
> Regards,
>