Re: [PATCH v2] gettext.c: only work around the vsnprintf bug on glibc < 2.17

2013-11-30 Thread Duy Nguyen
On Sun, Dec 1, 2013 at 6:01 AM, Torsten Bögershausen wrote: > On 2013-11-30 13.01, Nguyễn Thái Ngọc Duy wrote: >> Bug 6530 [1] causes "git show v0.99.6~1" to fail with error "your > causes or caused (as we have a work around?) >> vsnprintf is broken". The workaround avoids that, but it corrupts >>

Re: [PATCH v2] gettext.c: only work around the vsnprintf bug on glibc < 2.17

2013-11-30 Thread Torsten Bögershausen
> gnu_glibc_version()=2.11.3 /* Ubuntu 10.4, no updates */ Sorry, Copy-paste error: 2.11.1 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v2] gettext.c: only work around the vsnprintf bug on glibc < 2.17

2013-11-30 Thread Torsten Bögershausen
On 2013-11-30 13.01, Nguyễn Thái Ngọc Duy wrote: > Bug 6530 [1] causes "git show v0.99.6~1" to fail with error "your causes or caused (as we have a work around?) > vsnprintf is broken". The workaround avoids that, but it corrupts > system error messages in non-C locales. [snip] > The bug in glibc h

[PATCH v2] gettext.c: only work around the vsnprintf bug on glibc < 2.17

2013-11-30 Thread Nguyễn Thái Ngọc Duy
Bug 6530 [1] causes "git show v0.99.6~1" to fail with error "your vsnprintf is broken". The workaround avoids that, but it corrupts system error messages in non-C locales. The bug has been fixed since 2.17. If git is built with glibc, it can know running libc version with gnu_get_libc_version() an