#1970: bug in glibc-2.3.6?
--------------------+-------------------------------------------------------
 Reporter:  Spinal  |       Owner:  [email protected]
     Type:  defect  |      Status:  new                          
 Priority:  high    |   Milestone:  6.2                          
Component:  Book    |     Version:  6.3                          
 Severity:  major   |    Keywords:                               
--------------------+-------------------------------------------------------
 Hello, there.[[BR]]
 I have LFS-6.2 box up and running.[[BR]]
 I'm trying to correct wrong behaviour of the package called tripwire from
 BLFS.[[BR]]
 The wrong behaviour is connected to my locale settings (my locale is
 ru_RU.UTF-8 ).[[BR]]
 It seems (for me) there's a bug in glibc-2.3.6 or in current stable
 version of LFS.[[BR]]
 Here's a little test program:
 {{{
 $ cat > test.c << "EOF"
 > #include <stdlib.h>
 > #include <stdio.h>
 > #include <locale.h>
 > main(){
 >         printf("MB_CUR_MAX=%d\n", MB_CUR_MAX);
 >         printf("Current locale: %s\n", setlocale( LC_ALL, "" ) );
 >         printf("Current LC_CTYPE: %s\n", setlocale( LC_CTYPE, "" ) );
 > }
 > EOF
 spinal:~/prog/test$ gcc -o test test.c && ./test
 MB_CUR_MAX=1
 Current locale: ru_RU.UTF-8
 Current LC_CTYPE: ru_RU.UTF-8
 }}}
 Note '''MB_CUR_MAX=1''' which is probably not the case for UTF-8 locale.
 What may be wrong?

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/1970>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to