URL:
<http://savannah.gnu.org/bugs/?29820>
Summary: with collating element in grep-2.6.3.
Project: grep
Submitted by: noritnk
Submitted on: 2010年05月07日 12時21分14秒
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
First, error is returned with collating element in grep-2.6.3.
$ /bin/echo achb | LC_ALL=es_US.iso88591 src/grep 'a[[.ch.]]b'
src/grep: Invalid collation character
$
This message is generated at `re_compile_pattern',
but we don't use GNU regex for for this searching.
Therefore next I comment out dfasearch.c:130-162, rebuild and re-run.
$ /bin/echo achb | LC_ALL=en_US.iso88591 src/grep 'a[[.ch.]]*b'
$
(expected `achb')
$ /bin/echo achb | LC_ALL=en_US.UTF-8 src/grep 'a[[.ch.]]b'
Segmentation fault (core dumped)
(expected compile-error)
$
Configure options: ./configure --with-included-regex
$ LC_ALL=C src/grep --version
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.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?29820>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/