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