ebl_strtabfinalize: Don't SEGV when no strings are present

Petr Machata pmachata at redhat.com
Fri Aug 7 12:55:50 UTC 2009


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


More information about the elfutils-devel mailing list