bug-texinfo
[Top][All Lists]
Advanced

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

[bug #31068] accentenc test fails in UTF-8 locales with grep-2.6


From: Ryan Hill
Subject: [bug #31068] accentenc test fails in UTF-8 locales with grep-2.6
Date: Sun, 19 Sep 2010 07:22:21 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100916 Gentoo Firefox/3.6.9

URL:
  <http://savannah.gnu.org/bugs/?31068>

                 Summary: accentenc test fails in UTF-8 locales with grep-2.6
                 Project: texinfo - GNU documentation system
            Submitted by: dirtyepic
            Submitted on: Sun 19 Sep 2010 01:22:20 AM CST
                Category: makeinfo
                 Release: 4.1.3
                Priority: 5 - Normal
                Severity: 3 - Normal
              Item Group: bug
                 Privacy: Public
             Open/Closed: Open
             Assigned to: None
         Discussion Lock: Any
                  Status: None

    _______________________________________________________

Details:

grep-2.6 made some changes to multibyte handling that seems to have broken
the accentenc test of the makeinfo testsuite when run under a UTF-8 locale.

halo ~/texinfo-4.13/makeinfo/tests $ locale | grep LC_ALL
LC_ALL=en_US.utf8

halo ~/texinfo-4.13/makeinfo/tests $ ./accentenc 
+ unset TEXINFO_OUTPUT
+ : .
++ basename ./accentenc
+ input=accentenc.txi
++ basename ./accentenc
+ output=accentenc.info
+ ../makeinfo --enable-encoding --no-split -I. ./accentenc.txi
+ exit_status=0
+ test 0 = 0
+ grep $'\354' accentenc.info
+ exit_status=1
+ rm -f accentenc.info
+ exit 1

halo ~/texinfo-4.13/makeinfo/tests $ LC_ALL=C

halo ~/texinfo-4.13/makeinfo/tests $ ./accentenc 
+ unset TEXINFO_OUTPUT
+ : .
++ basename ./accentenc
+ input=accentenc.txi
++ basename ./accentenc
+ output=accentenc.info
+ ../makeinfo --enable-encoding --no-split -I. ./accentenc.txi
+ exit_status=0
+ test 0 = 0
+ grep $'\354' accentenc.info
+ grep $'\357' accentenc.info
+ grep /L accentenc.info
+ exit_status=0
+ rm -f accentenc.info
+ exit 0

halo ~/texinfo-4.13/makeinfo/tests $ grep -V | head -n1
GNU grep 2.6.3

grep-2.5.4 works as intended.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31068>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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