This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: ebl_strtabfinalize: Don't SEGV when no strings are present
- From: Petr Machata <pmachata at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Fri, 07 Aug 2009 14:55:50 +0200
- Subject: Re: ebl_strtabfinalize: Don't SEGV when no strings are present
06.08.2009 19:19, Ulrich Drepper wrote:
> The locale change really shouldn't be necessary. If you see the need
> fix the locale instead.
The thing is that it returns empty string even for LANG=C. In libc,
localedata/locales/POSIX and most of localedata/locales/en_* don't
define "yesstr" and "nostr" entries.
Also we already use gettext to emit yes/no string for has_children in
print_debug_abbrev_section.
But I've also filed a libc bug... whichever way it gets fixed is fine by me.
http://sources.redhat.com/bugzilla/show_bug.cgi?id=10497
PM