Re: gettext CTYPE for libc

2013-11-25 Thread Jonathan Nieder
Duy Nguyen wrote: > Do you think it's ok to revert the workaround if we detect > the running glibc is fixed (or if it does not run glibc at all)? I > think we could use gnu_get_libc_version() to detect it. That would be wonderful. Thanks, Jonathan -- To unsubscribe from this list: se

Re: gettext CTYPE for libc

2013-11-24 Thread Duy Nguyen
Jonathan I see you participated in bug 6530, mentioned in the big comment block in init_gettext_charset(). The bug seems fixed since glibc 2.17. Do you think it's ok to revert the workaround if we detect the running glibc is fixed (or if it does not run glibc at all)? I think we could use gnu_get_l

Re: gettext CTYPE for libc

2013-11-24 Thread Trần Ngọc Quân
On 24/11/2013 16:05, Thomas Rast wrote: > Trần Ngọc Quân writes: > >> $ git status >> fatal: Unable to read current working directory: Kh?ng c? t?p tin ho?c >> th? m?c nh? v?y >> >> So, somthing wrong with our charset. > [...] > Do you know why this "suddenly" broke? I think git set CTYPE="C" for

Re: gettext CTYPE for libc

2013-11-24 Thread Thomas Rast
Trần Ngọc Quân writes: > $ git status > fatal: Unable to read current working directory: Kh?ng c? t?p tin ho?c > th? m?c nh? v?y > > So, somthing wrong with our charset. [...] > $ gettext --domain=libc "No such file or directory" > Không có tập tin hoặc thư mục như vậy > > in git's gettext.c, it

gettext CTYPE for libc

2013-11-22 Thread Trần Ngọc Quân
Hello, $ mkdir xyz $ cd xyz $ rmdir ../xyz $ git status fatal: Unable to read current working directory: Kh?ng c? t?p tin ho?c th? m?c nh? v?y So, somthing wrong with our charset. $ strace git status 2>&1 | grep open open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 open("/lib/i386-linux-gnu/libz